Standard website construction: common keywords for class and ID naming of CSS elements

Source: Internet
Author: User

As many people write document structures and CSS in the project, and work with programmers, the name of the class and id needs to be unified. It took some time the day before yesterday to follow the habits of most people, the following common keywords are formulated:
Container: container/box
Header: header
Main Pilot: mainNav
Sub-pilot: subNav
Top navigation: topNav
Website logo: logo
Announcement: banner
Central page: mainBody
Background: footer
Menu
Menu content: menuContent
Sub-menu: subMenu
Sub-menu content: subMenuContent
Search: search
Search keyword: keyword
Search range: range
Label text: tagTitle
Tag content: tagContent
Current tag: tagCurrent/currentTag
Title: title
Content
Column table: list
Current location: currentPath
Side bar: sidebar
Icon
Note: note
Login: login
Note: register
Column definition:
Column_1of3 (the first column in the three columns)
Column53f3 (second column in the three columns)
Column_3of3 (the third column in the three columns)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.