Introduction to HTML5 new and removed elements, Introduction to html5 new
After more than 10 years of development, HTML elements have gone through the process of discarding and constantly redefining them. To better process existing Internet applications, HTML5 has added new elements such as graphic rendering, multimedia playback, Page Structure, application storage, and network work.
Drawing new elements
Tag |
Description |
<Canvas> |
Labels define graphs, such as tables and other images. JavaScript-Based Drawing API |
New multimedia elements
Tag |
Description |
<Audio> |
Define audio content |
<Vedio> |
Define video content |
<Source> |
Define multimedia resources (audio or vedio) |
<Embed> |
Define embedded content, such as plug-ins |
<Track> |
Define external text tracks for media such as video and audio |
New form Element
Tag |
Description |
<Datalist> |
Define a list of options. Use this element with the input element to define the possible input values. |
<Keygen> |
Specifies the key pair Generator Field Used for the form. |
<Output> |
Define different types of outputs, such as the output of scripts. |
New semantic and structural elements
HTML5 provides new elements to create more suitable pages.
Tag |
Description |
<Article> |
Define the independent content area of the page. |
<Aside> |
Define the content of the sidebar of the page. Why? |
<Bdi> |
You can set a text segment to remove it from the text direction of its parent element. |
<Command> |
Define command buttons, such as single-choice buttons, check boxes, or buttons. |
<Details> |
Describes the details of a document or a part of the document. |
<Dialog> |
Define dialog box, such as prompt box. |
<Summary> |
The label contains the title of the details element. |
<Figure> |
Define independent stream content (images, charts, photos, Code, etc ). |
<Figcaption> |
Define the title of the figure element. |
<Footer> |
Define the footer of a section or document. |
<Header> |
Defines the header area of the document. |
<Mark> |
Defines text with a mark. |
<Meter> |
Define a scale. It is used only for measurements with the largest and minimum values known. |
<Nav> |
Define the navigation link. |
<Progress> |
Defines the progress of any type of task. |
<Ruby> |
Define ruby annotations (Chinese phonetic symbols or characters ). |
<Rt> |
Defines the interpretation or pronunciation of a character (Chinese phonetic alphabet or character. |
<Rp> |
Used in ruby annotations to define the content displayed by browsers that do not support ruby elements. |
<Section> |
Define sections (sections and sections) in the document ). |
<Time> |
Defines the date or time. |
<Wbr> |
Specifies where to add line breaks in the text. |
Removed Elements
The following HTML 4.01 elements have been deleted in HTML5:
Tag |
<Acronym> |
<Applet> |
<Basefont> |
<Big> |
<Center> |
<Dir> |
<Font> |
<Frame> |
<Frameset> |
<Noframes> |
<Strike> |
<Tt> |
The above is all the new HTML5 and removed elements that xiaobian brings to you. I hope you can provide more support for our customers ~
Address: http://www.cnblogs.com/roucheng/archive/2016/06/26/html5new.html