What is Q:HTML5? Why do you use HTML5? What are the new features? What elements are removed?
- HTML5 is the latest version of HTML, established in October 2014 by the World Wide Web Consortium. The goal is to replace the HTML4.01 and XHTML1.0 standards established in 1999, with the expectation that network standards will meet the needs of today's networks when Internet applications are rapidly evolving. HTML5 refers to a set of technology combinations, including HTML,CSS and JavaScript. It wants to reduce web browser-to-plug-based Web application services (plug-in-based Rich Internet Application,ria), such as Adobe Flash, MicroSoft Silverlight, and Oracle The requirements of JavaFX and provide more standard sets that can effectively enhance network applications.
- HTML4 is too old to meet the growing needs of the Internet, especially the mobile internet. In addition, plug-ins such as Flash for a variety of reasons are not suitable for mobile use. HTML5 enhances the native functionality of the browser, reducing the dependency of Web applications on plugins.
- HTML5 added 27 elements, discarding 16 elements. According to the existing standard specification, the elements of HTML5 are defined as structural elements, block-level elements, in-line semantic elements, and interactive elements in 4 categories according to precedence.
- Structural elements are primarily responsible for the definition of the web context structure
-
section: In a Web page application, the change element can also be used for the section description of the area
-
header: Header on page theme, header element often in a pair of body elements
-
footer: The Bottom (footer) of the page, usually with information about the site
-
nav: specifically for menu navigation, The element of the link navigation, which is the abbreviation for Navigator
-
article: Used to represent the subject content of an article, typically a range of text displays
-
-
- aside: Used to express annotation, tips, sidebar, summary, The inserted reference, such as the content of the supplemental body,
- figure: is an element that combines and exhibits multiple elements, often in conjunction with ficaption
- code: Represents a section of code
-
- in-line semantic element mainly completes the Web page concrete content reference and the description, rich content display
-
-
- meter: Represents a specific range of values that can be used for wages, quantities, percentages
- time: Representing time values
- progress: Used to represent a progress bar, which can be used to control the progress bar by using properties such as Max, Min, step, and to complete the presentation and monitoring of
- video: Video element to support and implement direct playback of video files, support buffering preload and a variety of audio, video media formats
- Audio: Sound elements to support and implement direct playback of audio files, support buffering preload and multiple audio media formats
- As long as the interactive element is used for functional content expression, there will be a certain content and data association, which is the basis of various events
-
-
- menu: primarily for interactive menus
- Span style= "font-size:13px" >command: Used to process command buttons
4. Removed elements
-
- Pure phenotype elements
- <basefont> default font, do not set font
- <font> Font Labels
- <center> Horizontal Center
- <u> Underline
- <strike> Medium Horizontal Line
- <tt> Text equal width
- Framework Set
- <frameset>
- <noframes>
- <frame>
HTML/CSS basic Knowledge (II.)