Basic elements of HTML5 website production layout

Source: Internet
Author: User

 

Today, the Internet already has a lot of information to analyze breakthroughs made by HTML5 from the seo or design perspective. Although it is predicted that HTML5 won't be fully supported by 2022, we have no reason not to get familiar with some basic HTML5 knowledge.

HTML5 uses new rich semantic elements, which can well convey the purpose of web designers and browsers. For example, header, footer, aside, and nav tags allow us to construct the structure of the webpage and allow the browser to gain more control over how to display the page. The biggest problem encountered by HTML5 today is browser compatibility. Once several mainstream browsers are compatible with HTML5, the loading speed of HTML5 sites will be faster, the navigation of the website will be easier and the page content will be richer.

Below I will briefly list several basic elements of html5 website layout:

 

Header: header element, which is used as a part of a webpage or as a "Container" for adding page introduction information ". It can contain the website name, marking line, advertising slogan, or company logo.

Nav: This element is obviously applied to creating navigation or menu bar. But the key point is that not all links on the web page must be in the nav element, only links in the main navigation bar should be included in this element.

Section: For section, we can say that the section is semantic div compared to div. This label is generally applied to the chapter of the article, the tab in the tag dialog box, or the part numbered in the paper.

Aside: This element represents content related to the main content, but not part of the main content. It is usually used for reference, link related to the sidebar, and advertisement.

Footer: the content of this element contains

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.