Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the block tags in html5?

2025-04-11 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article is about what block tags are in html5. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

The block tags in html5 are: 1, ", define the document header; 2,"; 3, "; 4,"; 5, "; 6,"; 7, "; 8,".

The operating environment of this tutorial: windows7 system, HTML5 version, Dell G3 computer.

New block-level elements: header, section, footer, aside, nav, main, article, figure

The tag defines the header of the document (introduction information).

Tags define sections (section, sections) in the document. Such as chapters, headers, footers, or other parts of the document.

Tags define the footer of a document or section. Should contain information about the elements it contains. The footer usually contains the author of the document, copyright information, links to terms of use, contact information, and so on. You can use multiple elements in a document. Contact information should be in the label.

Tags define content other than what it is in. Its content should be related to the nearby content. Can be used as a sidebar.

The tag defines the part of the navigation link.

The tag specifies the main content of the document. The contents of its elements should be unique to the document. It should not contain content that repeats in the document, such as sidebars, navigation bars, copyright information, site logos, or search forms.

You cannot have more than one element in a document.

An element cannot be a descendant of the following elements:, or.

Tags specify independent self-contained content. Potential sources of elements: forum posts, newspaper articles, blog entries, user comments.

Tags specify independent streaming content (images, diagrams, photos, codes, and so on).

Thank you for reading! This is the end of this article on "what block tags are in html5". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report