Introduction to tags and attributes added to HTML5-

Source: Internet
Author: User
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 )!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.