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

Example analysis of semantic tags, new features in HTML5

黄舟
Release: 2017-11-01 10:44:52
Original
1561 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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template