Some new tag usages provided by HTML 5 and the difference from HTML 4

Source: Internet
Author: User


HTML4: none

It is mainly used to visually present to the user those words that need to be highlighted. A more typical application of tags is to highlight search keywords to users in search results.
HTML5: 
HTML4: 

Labels define weights and measures. Measures that are used only for the known maximum and minimum values. The scope of the measure must be defined, either in the text of the element or in the Min/max property.
HTML5: 
HTML4: none

The label defines the part of the navigation link.
HTML5: 
HTML4:

Tags define different types of output, such as the output of a script.
HTML5: 
HTML4: 

The process in which the label runs. You can use labels to display the process of time-consuming functions in JavaScript.
HTML5: 
HTML4: none

tags are used in ruby annotations to define what is displayed by browsers that do not support ruby elements.
HTML5: 漢(ㄏㄢˋ)
HTML4: none

Labels define the interpretation or pronunciation of characters (Chinese phonetic symbols or characters).
HTML5: 漢ㄏㄢˋ
HTML4: none

Tags define ruby annotations (Chinese phonetic notation or characters).
HTML5: 漢(ㄏㄢˋ)
HTML4: none

tags define sections (section, section) in a document. such as chapters, headers, footers, or other parts of the document.
HTML5: 
HTML4: 

Tags define media resources for media elements (such as and).
HTML5: 
HTML4: 

The label contains the title of the details element, which is used to describe the details of the document or document fragment. The "Summary" element should be the first child element of the "details" element.
HTML5: HTML 5Thisdocument teaches you everything you have to learn about HTML5.
HTML4: none

The label defines the date or time, or both.
HTML5: 
HTML4: 

Tags define videos, such as movie clips or other video streams.
HTML5: 您的浏览器不支持 video标签。
HTML4:

Some new tag usages provided by HTML 5 and the difference from HTML 4

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.