After html5 is applied, its functions are powerful and obvious. The addition of tags and attributes adds a lot of color to html5. For more information, see html5 new tags and attributes ......,. HTML5 is used in practical applications. Its strength is heard early. Let's take a look at the new tags and attributes in html5.
New tags in HTML5:
: Define article
: Defines content other than the page content
: Define sound content
: Define graphics
: Define command button
: Definition list
: Define the details of Elements
: Define external interaction content or plug-ins
: Define the title of the figure Element
: Defines media content groups and their headers.
: Define the footer of a section or page
: Define the header of a section or page
: Define section information in the document
: Define the generation key
: Define text with Mark
: Define a metric within a predefined range
: Define navigation links
: Define some types of output
: Define the progress of any type of task
: Defines the content displayed if the browser does not support ruby Elements
: Define the explanation of ruby annotations
: Define ruby annotations
: Define section
: Define media sources
: Define the title of the details Element
: Define date/time
: Define video
New HTML5 attributes:
Contenteditable: Value: true/false indicates whether users are allowed to edit content.
Contextmenu: Value: context menu of the elements specified by menu_id
Data-yourvalue: value: attribute defined by the value creator. Creators of HTML documents can define their own attributes, which must begin with "data -"
Draggable: Value: true/false: auto specifies whether to allow users to drag Elements
Hidden: Value: hidden specifies that this element is irrelevant. Hidden elements are not displayed.
Item: Value: empty/url used to combine elements
Itemprop: value: url/group value used to combine Projects
Spellcheck: Value: true/false specifies whether spelling or syntax checks must be performed on Elements
Subject: value: the project corresponding to the id specified element: defines the sound content
The above is the introduction to tags and attributes added to HTML5. For more information, see PHP Chinese website (www.php1.cn )!