Home > Article > Web Front-end > DIV CSS English naming convention_html/css_WEB-ITnose
1. Naming of CSS ID
Jacket: wrap
Main navigation: mainnav
Sub-navigation: subnav
Footer: footet
Entire page: content
page eyebrow: header
footer: footer
brand: label
title: title
main navigation: mainbav (globalnav)
top navigation: topnav
side navigation: sidebar
left Navigation: leftsidebar
Right navigation: rightsidebar
Flag: logo
Slogan: banner
Menu content 1: menu1 content
Menu capacity: menu container
Submenu: submenu
Side navigation icon: sidebarIcon
Note: note
breadcrumb: breadcrumb (i.e. navigation prompt of the page location)
container: container
content: content
search: search
login: Login
Ribbon: shop (such as shopping cart, checkout counter)
Current current
2. In addition, the comments available when editing the style sheet can be written like this:
<-- Footer -- >
Content area
<-- End Footer -->
3. Style file naming
Main master.css
Layout, layout layout.css
Column columns .css
Text font.css
Print style print.css
Theme themes.css