Home > Web Front-end > HTML Tutorial > div css naming rules reproduced from www.huashifu.net_html/css_WEB-ITnose

div css naming rules reproduced from www.huashifu.net_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:31:15
Original
1408 people have browsed it

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:

Content area

3. Style file naming
main master.css
layout, layout.css
columns.css
text font.css
print style print .css
themes.css

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template