It hopes to reduce the browser's need for plug-in-based rich internet applications (RIA), such as Adobe Flash, Microsoft Silverlight, and Sun JavaFX. HTML 5 provides a number of new elements and attributes that reflect typical modern usage of websites. Some of them are technically like
and
tags, but have a meaning, such as (site navigation block) and . Such tags will facilitate search engine indexing, small screen devices, and use by the visually impaired. It also provides new functionality for other browsing elements, through a standard interface, such as the and tags. Some obsolete HTML 4 tags will be deprecated, including tags used purely for display purposes, such as and , as they have been replaced by CSS. There are also some network behaviors through the DOM (via). Let’s take a look at some new tag usage provided by HTML 5 and the differences from HTML 4. The tag defines external content. For example, a new article from an external news provider, or text from a blog, or text from a forum. Or content from other external sources. HTML5: HTML4:
tag defines content other than article. The content of aside should be related to the content of article. HTML5:Aside content is independent content, but should be related to the document content. HTML4:Aside content is independent content, but should be related to the document content.
tag defines a sound, such as music or other audio stream. HTML5:Your browser does not support the audio tag. HTML4: tag defines graphics, such as charts and other images. This HTML element is designed for client-side vector graphics. It has no behavior of its own, but exposes a drawing API to client JavaScript so that the script can draw whatever it wants to a canvas. HTML5: HTML4: tag defines command buttons, such as radio buttons, checkboxes, or buttons. HTML5: HTML4: none tag defines a list of optional data. Used in conjunction with the input element, you can create a drop-down list of input values. HTML5: HTML4: see combobox. The tag defines the details of the element, which the user can view or hide by clicking on it. Use with to create a detail title. The title is visible to the user and when clicked on it turns the detail on or off. HTML5: HTML4: tag defines embedded content, such as plug-ins. HTML5: HTML4: tag defines the title of the figure element. The "figcaption" element should be placed as the first or last child of the "figure" element. HTML5: PRC HTML4: none The tag is used to combine elements. Use the element to add a title to a group of elements. HTML5: PRC The People's Republic of China was born in 1949...
HTML4:
PRC
The People's Republic of China was born in 1949...
tag defines the footer of a section or document. Typically, it will contain the name of the author, the date the document was created, and/or contact information. HTML5: HTML4:
tag defines the header of a section or document. HTML5: HTML4:
tags are used to combine titles of web pages or sections. HTML5: HTML4:
tag defines the generated key. HTML5: HTML4: none is mainly used to visually present text that needs to be highlighted to the user. A typical application of the tag is to highlight search keywords to users in search results. HTML5: HTML4: tag defines weights and measures. Use only for measurements with known maximum and minimum values. The range of the measure must be defined, either in the element's text or in the min/max attributes. HTML5: HTML4: none tag defines the portion of the navigation link. HTML5: HTML4: tag defines different types of output, such as the output of a script. HTML5: HTML4: tag running process. You can use the tag to show the progress of time-consuming functions in JavaScript. HTML5: HTML4: none The tag is used in ruby comments to define what is displayed by browsers that do not support ruby elements. HTML5: 汉( ㄏㄢˋ) HTML4: none Tags define the interpretation or pronunciation of a character (Chinese phonetic phonetic or character). HTML5: Chinese ㄏㄢˋ HTML4: none tag defines ruby comments (Chinese phonetic notation or characters). HTML5: 汉( ㄏㄢˋ) HTML4: none Tags define sections (sections, sections) in the document. Such as chapters, headers, footers, or other parts of the document. HTML5: HTML4:
tag defines media resources for media elements such as and . HTML5: HTML4: tag contains the title of the details element, and the "details" element is used to describe detailed information about the document or document fragment. The "summary" element should be the first child of the "details" element. HTML5: HTML 5 This document teaches you everything you have to learn about HTML 5. HTML4: none Tag definition date Or time, or both. HTML5: HTML4: tag defines a video, such as a movie clip or other video stream. HTML5: Your browser does not support the video tag. HTML4: