Naming rules for Web UI design

Source: Internet
Author: User

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

 

 

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.