Home >Web Front-end >HTML Tutorial >div css naming rules reproduced from www.huashifu.net_html/css_WEB-ITnose
Copyright Statement: When reprinting, please indicate the original source and author information of the article and this statement in the form of a hyperlink
http://097633.blogbus.com/logs/31448360.html
Collect a good SEO optimization material for DIV CSS layout:
Div css naming rules-enhanced SEO
Header: header
Login bar: loginBar
Logo: logo
SideBar: sideBar
Ad: banner
Navigation: nav
Sub-navigation: subNav
Menu: menu
Submenu: subMenu
Search: search
Scroll: scroll
Page body: main
Content: content
Tab page: 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: regsiter
Status: status
button :btn
Vote: vote
Partner: partner
Friendly link: friendLink
Footer: footer
Copyright: copyRight
1. Naming of CSS ID
Jacket: wrap
main navigation: mainNav
subnav: subnav
footer: footer
whole 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
Breadcrumbs: breadCrumb (i.e. navigation prompts for the location of the page)
container: container
content: content
search: search
login: login
functional area: shop (such as shopping cart, checkout counter)
Current current
2. In addition, the comments available when editing the style sheet can be written as follows:
Footer ?>
Content area
End Footer ? >
3. Style file naming
main master.css
layout, layout.css
columns.css
text font.css
print style print .css
themes.css