Home  >  Article  >  Web Front-end  >  What new tags are added to HTML5?

What new tags are added to HTML5?

青灯夜游
青灯夜游Original
2020-11-17 15:40:396655browse

HTML5 new tags: canvas, audio, video, source, embed, track, datalist, keygen, output, article, aside, bdi, nav, mark, rt, rp, ruby, time, wbr, etc. .

What new tags are added to HTML5?

(Recommended tutorial: html tutorial)

HTML5 is the latest version of HTML, completed by W3C in 2014 Standard customization. Enhanced browser native functions reduce browser plug-in (such as flash) applications, improve user experience satisfaction, and make development more convenient. HTML has undergone tremendous changes from 1.0 to 5.0, from a single text display function to a multimedia display function with pictures and texts. After many years of improvement, many features have developed into a very important markup language. HTML5 adds some new structural tags, multimedia tags and form tags.

New element

##TagDescription Tags define graphics, such as charts and other images. The tag is based on the JavaScript drawing API

New Multimedia Elements

TagDescriptionDefine audio content####Define multimedia resourcesDefine embedded content, such as plug-ins. Specifies an external text track for media such as New form element
Define video (video or movie)

##TagDescriptionDefine the option list. Use this element in conjunction with an input element to define the possible values ​​of the input. Specifies the key pair generator field to use for the form. Define different types of output, such as script output.

New semantic and structural elements

##TagDescription
Define an independent content area of ​​the page. Define the sidebar content of the page. Allows you to set a piece of text independent of the text direction setting of its parent element. Define a command button, such as a radio button, check box, or button< details>Used to describe the details of a document or a certain part of a document####
is specified independently of streaming content (images, charts, photos, code, etc.).
Define the title of the
element
Define the footer of section or document.
Defines the header area of ​​the documentDefine text with tokens. Define weights and measures. Use only for measurements with known maximum and minimum values. The part that defines the navigation link. Define the progress of any type of task. Define ruby ​​comments (Chinese phonetic or characters). Defines the interpretation or pronunciation of a character (Chinese phonetic phonetic or character). is used in ruby ​​comments to define the content displayed by browsers that do not support ruby ​​elements. Define the section (section, section) in the document. Define the date or time. Specifies where in the text it is appropriate to add line breaks. For more programming-related knowledge, please visit: Programming Learning! !
Define a dialog box, such as a prompt box
The tag contains the title of the details element
##

The above is the detailed content of What new tags are added to HTML5?. For more information, please follow other related articles on the PHP Chinese website!

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
Previous article:What is h5 page design?Next article:What is h5 page design?