Home > Web Front-end > H5 Tutorial > Introduction to HTML5 syntax changes_html5 tutorial skills

Introduction to HTML5 syntax changes_html5 tutorial skills

WBOY
Release: 2016-05-16 15:49:04
Original
1404 people have browsed it

1. Tags are no longer case-sensitive

Copy the code
The code is as follows:

< ;p>Hello, World!



2. Elements can omit the end tag

(1) Elements of empty element syntax: area, base, br, col , command, embed, hr, img, input, keygen, link, mata, param, source, wbr
(2) The elements of the end tag can be omitted: colgroup, dt, dd, li, optgroup, p, rt, rp , thread, tbody, tfoot, tr, td, th
(3) All tag elements can be omitted: html, head, body, tbody

3. Attributes that allow attribute values ​​to be omitted
4 , allow attribute values ​​to not use quotation marks
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