Home > Web Front-end > H5 Tutorial > Example analysis of semantic tags, new features in HTML5

Example analysis of semantic tags, new features in HTML5

黄舟
Release: 2017-11-01 10:44:52
Original
1619 people have browsed it

HTML5 has only one simple document type: <!DOCTYPE html>, which means the browser will parse it according to the standard mode. Today, the editor brings you the Semantic tag, a new feature of HTML5. Friends who are interested should take a look at it

HTML5 new feature

Concise DOCTYPE:

HTML5 has only one simple document type: <!DOCTYPE html>, which means the browser will follow the standard Pattern parsing.

Simple and easy-to-remember encoding type

You can now use "charset" in the meta tag: <meta charset=”utf-8″ / >

Scripts and links do not require type

<link rel="stylesheet" href="path/to/stylesheet.css" />
<script src="path/to/script.js"></script>
Copy after login

More semantic new tags

For example:

,
,
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
Latest Issues
html5 validation for symfony 2.1
From 1970-01-01 08:00:00
0
0
0
The difference between HTML and HTML5
From 1970-01-01 08:00:00
0
0
0
html5 show hide
From 1970-01-01 08:00:00
0
0
0
Can PDF files run HTML5 and Javascript?
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template