Home > Web Front-end > HTML Tutorial > CSS div-naming convention for page div-naming convention for style files_html/css_WEB-ITnose

CSS div-naming convention for page div-naming convention for style files_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:57:10
Original
1176 people have browsed it

1.

Naming convention for page divs:

header------------------ -----Head

content-----------------------Content

nav-------- --------------------Navigation

mainnav--------------------Main navigation
subnav-----------------------Sub-navigation
mainnav----------------- ---Main navigation

sidebar-----------------------Sidebar
loginbar--------- -------------Login bar
logo-------------------------- Logo
banner ----------------------- Advertisement
main--------------------- ----Page body
copyright------------------------Copyright
hot-------------------------- ---------------Hot Spots
news--------------------------News
download --------------------Download
subnav-----------------------Sub navigation
mainnav--------------------Main navigation
menu-------------------- -----Menu
submenu--------------------Submenu
search-------------- ----------Search
friendlink--------------------Friendly link
footer---------- ---------------Tail (footer)

scroll------------------------ -Scroll

left right center------------Left center right

title----------------- ----------Title

summary--------------------------------Summary

banner--- -------------------- Advertisement

btn------------------------- ------Button

list -------------------------------Article list

mainnav--------------------Main navigation



2.

Naming convention for page divs:

Main master.css


Layout, layout layout.css

columns.css

text font.css

print style print.css

themes.css




Related labels:
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