Home > Web Front-end > H5 Tutorial > H5 semantic tags

H5 semantic tags

php中世界最好的语言
Release: 2018-03-27 14:01:57
Original
2620 people have browsed it

This time I will bring you the semantic tags of H5. What are the precautions when using H5 semantic tags? Here are practical cases, let’s take a look.

HTML5 new features

Concise DOCTYPE:

HTML5 has only one simple document type : <!DOCTYPE html>, indicating that the browser will parse according to the standard mode.

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