HTML5 step by step-new tag explanation (1)

Source: Internet
Author: User

New tag parsing:
The header is mainly used for navigation and can be nested in the header, but cannot be nested in the <address> label.
Hgroup defines the specific content in the header, which is a small container.
For example:
[Html] view plaincopyprint?
<Header>

<Hgroup>
<H1> </Hgroup>
</Header>

<Article> </article>: A large article, mainly used for text display. For example, Forum posts, newspaper articles, blog entries, and user comments

<Address> displays address information or contact information of the author or owner of a document. Generally, add the address element to the header or bottom of a webpage.

<Time> Format the output time and date.

<Footer> footer. It is mainly used to display some external links, links, and copyright information. In typical cases, this element includes the Creator's name, document creation date, and/or contact information. If you use footer to insert contact information, you should use the <address> element in the footer element.

<Aside> is related to nearby content. The content of aside should be related to the content of article. Aside indicates what to display. We generally use it on the sidebar of the article.

<Section> put the relevant content together and put together some logic to provide a function equivalent to dividing functional areas.

<Nav> website navigation block www.2cto.com

<Audio> tags define sounds, such as music or other audio streams.

<Canvas> labels define images, such as tables and other images. This HTML element is designed for vector graphics on the client side. It does not act on its own, but presents a drawing API to the client.

<Datalist> A tag defines a list of optional data. Implement search prompts such as ajax.

<Figure> tags are used to combine elements. Use the <figcaption> element to add a title to the element group.

<Figcaption> the label defines the title of the figure element ." The figcaption element should be placed at the first or last child element of the figure element.

<Source> tags define media resources for media elements (such as <video> and <audio>.

<Video> tags define videos, such as movie clips or other video streams.

Author: shiyuan17

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.