Html5 tags and html5 tags

Source: Internet
Author: User

Html5 tags and html5 tags

Add tags to html5
<Section> </section> indicates the content block. Generally, a section, header, footer, or other part of the page is entered. Can be combined with h1-h6 and other elements, marking the structure of the document <section> </section>
<Article> </article> indicates an independent content on the page that is irrelevant to the context, for example, an article in a blog or an article in a newspaper.
<Aside> </aside> indicates auxiliary information related to the content of the article element except the content of the acticle element.
<Header> <Footer> </footer> indicates the footer of a content block on the entire page or page. Generally, it includes the Creator's name, creation date, and contact information.
<Nav> </nav> indicates the navigation link of the page.
<Figure> </figure> indicates an independent stream content. Generally, it indicates an independent unit in the main stream content of the document. Use the figcaption element to add a title to the figure element.
<Figure> </figure> is a combination of elements with optional titles. Used to indicate an independent content on a webpage.
<Figcaption> </figcaption> indicates the title of figure. And only one figcaption can be placed in figure.
<Video> </video> defines a video, such as a movie clip or another video stream.
If this attribute is displayed on autoplay, the video will be played immediately after it is ready.
If this attribute is displayed in controls, the control, such as the play button, is displayed to the user.
If this attribute appears in the loop, the loop starts playing again whenever the audio ends.
Muted specifies that the video output should be muted.
If this attribute is displayed in preload, the video is loaded when the page is loaded and ready to play. If "autoplay" is used, this attribute is ignored.
The URL of the src audio to be played.
Poster: url. specifies the image displayed when the video is downloaded, or the image displayed before the user clicks the play button.
Three formats are supported: Ogg, MPEG4, and WebM.
<Audio> </audio> defines audio, such as music or other audio streams.
If autoplay displays this attribute, the audio will be played immediately after it is ready.
If this attribute is displayed in controls, the control, such as the play button, is displayed to the user.
If this attribute appears in the loop, the loop starts playing again whenever the audio ends.
Muted specifies that the video output should be muted.
If this attribute is displayed in preload, the audio is loaded when the page is loaded and ready for playing. If "autoplay" is used, this attribute is ignored.
The URL of the src audio to be played.
This tag supports three formats: wav, mp3, and ogg, both of which are audio formats and have different compatibility in different browsers. Below are some mainstream browsers that support it:
<Mark> </mark> highlight text. A typical application is to highlight search keywords in search results.
<Canvas id = "myCanvas" width = "200" height = "200"> </canvas> indicates the image, scale, and other images. This element does not act on itself. It only provides a canvas, but presents a drawing API to the client js so that the script can draw what you want to draw on the canvas.

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.