Home > Web Front-end > H5 Tutorial > body text

What are the new tags in html5?

PHP中文网
Release: 2017-06-21 15:47:34
Original
2014 people have browsed it

html5

1. Statement

HTML5: The core language of the World Wide Web and the fifth major revision of the HTML specification. HTML5 is the next version of the HTML standard.

HTML5 simplifies many subtle syntax, such as doctype declaration, you only need to write

2. Layout semantic tags

Article: Tag loading displays an independent article content, such as an article, report, novel.

Section: The tag defines a section (section, section) in the document, such as a chapter in a novel.

aside: Used to load non-text content and description of the subject content.

Header: The tag defines the page header of the document, usually some guidance and navigation information

Footer: The tag defines the footer of the section or document

nav: The tag defines the display Navigation link

Time: Defines the date or time, or both

Main: Specifies the main content of the document Note: More than one

element cannot appear in the document.

Progress: Progress bar Attributes: max: Progress completion value

Value: Define the current progress value

Mark: Mark the text that needs to be highlighted

Use Scene:

 

3. Media combination tag

figure>figcaption
 
: The tag contains independent media content, such as images, charts, photos, etc., as well as description text for these media
 
The tag defines the title (captio) of the figure element
details>summary
The
tag is used to describe the details of a document or a certain part of the document. This detail does not need to be displayed when the document is loaded, but Can be folded.
Attribute: open defines whether details are visible
 The title of the details element displayed by default
##datalist>option
The input box prompts the column list
The value of the list attribute of the input is the id of the datalist

The above is the detailed content of What are the new tags in html5?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!