CSS XHTML naming rules

Source: Internet
Author: User
Tags naming convention wrapper

CSS naming convention
Header: header
Content: Content/containe
Tail: Footer
Navigation: Nav
Sidebar: Sidebar
Columns: Column
Page Surround control Overall layout width: wrapper
Left Right center
Login: Loginbar
Logo: Logo
ad: Banner
Page body: main
Hotspot: Ho T
News
Downloads: Download
Child navigation: Subnav
Menu: Menu
Submenu: submenu
Search: Search
Links: friendlink footer: Footer
Copyright: Copyright
Scrolling: Scroll
Content: Content
Tab: Tab
Article list: Listing
Tips: Msg
Tips:   Tips
Column title: Title
Add: Joinus
Guide: Guild
Service: Service
Register: Regsiter
Status: Status
Vote: Vote
  Partners: Partner


Name of ID in XHTML file
(1) Page Structure
Container: Container
Header: Header
Content: Content/container
Page body: Main
Footer: Footer
Navigation: Nav
Sidebar: Sidebar
Columns: Column
page perimeter control overall layout width: wrapper
Left-right Center
(2) Navigation
Navigation: Nav
Lead: Mainbav
Sub-navigation: Subnav
Top navigation: Topnav
Edge navigation: Sidebar
left navigation: leftsidebar< br> Right Navigation: rightsidebar
Menus: Menu
Submenu: submenu
Title: Title
Summary: Summary
(3) Function
Logo: Logo
advertisement: Banner
Login: LOGIN
login: Loginbar
Registration: Regsiter
Search: Search
Ribbon: Shop
Title: Title
Add: Joinus
Status: Status
Button: BTN
Scrolling: Scroll
Tab: Tab
Article List: Lists
Tip: Msg
Current: "The present
Tips: Tips
Icons: Icon
Comments   : Note
Guide: Guild
Services: Service
Hotspots: Hot
News: News
Download: Download
vote: Vote
Partner: Partner
Links: Link
Copyright: Copyright

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.