I. Website Design and basic framework structure:
1.Container"Container" is the part that includes all elements in the page. This part can also be named "wrapper", "Wrap", "page".
2.Header"Header" is the header area of a website page. Generally, it contains the Website Logo and other elements. This part can also be named "Page-header" (or pageheader ).
3.Navbar"Navbar" is equivalent to a horizontal navigation bar and is the most typical web page element. This part can also be named "nav", "navigation", and "nav-wrapper ".
4.MenuThe "menu" area contains general links and menus, which can also be named "subnav", "Links", "sidebar-Main ".
5. main " Main "is the main area of the website. If it is a blog, it will contain logs. This part can also be named "content", "Main-content" (or "maincontent ").
6. sidebar the" sidebar "section can contain the secondary content of the website, for example, the list of recently updated content, Introduction to the website, or advertisement elements... This part can also be named "subnav", "Side-panel", "secondary-content".
7.Footer"Footer" contains some additional information about the website, which can also be named "Copyright".
Ii. Notes:
1. Consider the role or "intention" of naming an element as much as possible to achieve semantics. Do not use surface naming.For example, red/left/big.
2. Combination naming rules: [Element type]-[element function/content]For example, search button: BTN-search login form: Form-login News list: List-news
3. element names involving interactive behaviors:For details about the naming rules of elements that involve interactions, such as normal, hover, click, and browsed, see the following rules: hover CLICK: Click browsed: visited, for example: search buttons: BTN-search, BTN-search-Hover, BTN-search-visited
III.Common naming summary:
Page header: Header logon bar: loginbar logo: logo sidebar: sidebar ad bar: banner navigation: nav sub-Navigation: subnav menu: Menu Sub-menu: submenu drop-down menu: dropmenu toolbar: toolbar form: form column: column Arrow: Arrow search: search button: BTN-Search scroll bar: Scroll content: content tab: TabArticleList: List tip: MSG tips: Tips topic title: Title link: Links footer: footer service: Service hotspot: hot news: News download: Download registration: regsiter status: Status button: BTN voting: Vote partner: Partner copyright: Copyright website map: sitemap