Home > Web Front-end > H5 Tutorial > How to use the new semantic tag features of H5

How to use the new semantic tag features of H5

php中世界最好的语言
Release: 2018-01-29 10:04:11
Original
2414 people have browsed it

This time I will bring you H5's SemanticHow to use the new features of H5's semantic tags, and what are the precautions for using the new features of H5's semantic tags. The following are practical cases. , let’s take a look.

HTML5 new features

Concise DOCTYPE:

HTML5 has only one simple document type: , which means the browser will parse it according to the standard mode.

Simple and easy-to-remember encoding type

You can now use "charset" in meta tags:

Script And links do not need to be type

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


##More semantic

Newtags

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