HTML semantic tags (1)

Source: Internet
Author: User

The current webpage is composed of three elements: HTML, CSS, and JS. HTML is the most important part and the skeleton of the entire webpage, CSS and js are modified based on the skeleton to make the webpage a bloody and movable "person ". If the HTML design is unreasonable, it is similar to a person with a poor skeleton. Even if the appearance is modified, it cannot cover up his obvious defects.

HTML tags have semantic considerations. For example, table semantics is "table", tr is "unit row", and td is "cell ". A simple orientation for determining whether the semantics of a webpage tag is good is:"Remove the style and check whether the webpage structure is orderly and readable.". For a page with good semantics, the h tag should be complete and orderly, and arranged in sequence according to h1, h2, h3, and h4. You can use web Developer or firebug in your work. The W3C official website is a typical well-defined semantics, http://www.w3.org /.

Below is the W3C official website for removing styles

 

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.