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

H5 semantic tags

php中世界最好的语言
php中世界最好的语言Original
2018-03-27 14:01:572514browse

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>

More semantic new tags

For example:

,
,
Statement:
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
Previous article:H5 mobile page zoomNext article:H5 mobile page zoom