Home > Article > Web Front-end > Enhanced SEO div css naming rules_html/css_WEB-ITnose
Header: header
Login bar: loginBar
Logo: logo
Sidebar: sideBar
Advertising: banner
Navigation: nav
Sub-navigation: subNav
Menu: menu
Submenu: subMenu
Search: search
Scroll: scroll
Page body: main
Content: content
Tab: tab
Article list: list
Prompt information: msg
Tips: tips
Column title: title
Join: joinus
Guide: guild
Service: service
Hot spot: hot
News : news
Download: download
Register: register
Status: status
Button: btn
Vote: vote
Partner: partner
Friendly link: friendLink
page Foot: footer
Copyright: copyRight
1.css ID naming
Coat: wrap
Main navigation: mainNav
Sub navigation: subnav
Footer: footer
Entire page: content
Header: header
footer: footer
trademark: label
title: title
main navigation: mainNav (globalNav)
top navigation: topnav
Side navigation: sidebar
Left navigation: leftsideBar
Right navigation: rightsideBar
Flag: logo
Slogan: banner
Menu content 1: menu1Content
Menu capacity: menuContainer
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, cashier)
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
Columns columns.css
Text font.css
Print style print.css
Theme themes.css