Introducing examples of HTML5 semantic elements

零下一度
Release: 2017-05-15 11:04:12
Original
1343 people have browsed it

What is a semantic element?

A semantic element can clearly describe its meaning to browsers and developers.

Semantic element examples:

and - no need to consider content.

Semantic element examples:

,

Browser support

Internet Explorer 9+, Firefox, Chrome, Safari and Opera support semantic elements.

Note: Internet Explorer 8 and earlier do not support this element. However, compatible workarounds are provided at the bottom of the article.

New semantic elements in HTML5

Many existing Some websites contain the following HTML code:

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!
, and- Clearly defines its content.