A brief overview of the new and abolished tags in html5_html5 tutorial skills
WBOYOriginal
2016-05-16 15:49:451479browse
New structure tag
section element represents a content block in the page, such as a chapter, header, footer or other part of the page. It can be used in combination with h1, h2... and other elements to represent the document structure. Example: … in HTML5;
…
in HTML4. article element represents a piece of independent content on the page that is not related to the context. For example, an article. aside element represents auxiliary information related to the content of the article element in addition to the content of the article element. header element represents the title of a content block in the page or the entire page. hgroup element means to group the titles of the entire page or a content block in the page. footer element represents a footer for an entire page or a content block within a page. Typically, it will include the creator's name, the date it was created, and the creator's contact information. nav element represents the navigation link part of the page. figure element represents an independent piece of flow content, generally representing an independent unit in the main flow content of the document. Use the figcaption element to add a caption to a group of figure elements. For example:
Copy the code
The code is as follows:
Often written in HTML4
prc
The People's Republic of China was born in 1949
Added other elements video element define video. Like movie clips or other video streams. Example: Written in HTML4:
audio element defines audio. Such as music or other audio streams. Example: Writing in HTML4:
Copy code
The code is as follows:
embed element is used to embed content (including various media). The format can be Midi, Wav, AIFF, AU, MP3, flash, etc. Example: Code example in HTML4
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn