Some specifications of Div tags in website construction

Source: Internet
Author: User

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

The author refers to be engaged in the construction of the website has more than 5 years, today to spare some time to share with the owners of the div for many years the framework of some of the norms and experience. First, the concept,

is a block-level element that also means wrapping automatically. It is often followed by elements such as class or ID, or both. The main difference is that class is used for element groups, and IDs are used to identify unique elements. Regular web site schemas are typically:

Defines a head generic. is normalized, usually named header.

Define the subject frame, for normalization, usually named content or wrappers.

Define FOOTSTEP frames, for normalization, assimilation into names for footer.

That is defined as header

There should be a H1 tag that interprets the content of the entire site, including the site's main keywords. Then use

Unordered tags do a list of navigation arrangements. H2 tags can appear 1-3 times, followed by the weight of the lower H3 tags, in the homepage can be used for the title of the small section.

The following are some of the issues you must pay attention to in doing the front-end architecture. One is not to use the heading label indiscriminately,

To HTML inside a total of 6 kinds of heading tags, the role is reduced, the title tag can not only help visitors clear understanding of the structure of the site and a large number of unread text, but also to help search engine better understand the structure of the Web page, the second is the normal use of heading tags, For example, now I see a lot of Web sites can not correctly classify heading tags. For example, in the content page, the title of the site is defined in

, which is the general head of the website.

As the title of an article appears, the homepage can be used as a representation of the home page or the entire site. The contents of the article or the small column in the home page are unified

, so you can standardize the heading tags, whether for search engines or users. Third, we should let the definition of the heading label specifications, so that users can see the label to create a certain understanding of the page; four is a lot of webmaster frequent problems: flooding using heading tags, and ignore the use of tags.

With the development of web design technology and people's demand for user experience, it is a general trend to divide the front-end work into graphic design and page reconstruction. As a professional page refactoring personnel should be in peacetime work more reflective more summary, in the absence of norms to find norms, in the norms to seek innovation, only in order to make the industry more and more norms, can further enhance the user experience of visitors. This article from the Kunming website Construction www.ynynyn.com stationmaster, the first time publishes in A5 stationmaster NET, reprint please keep the author link, thanks.

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.