Home > Web Front-end > Front-end Q&A > What are the three categories of html5 tags?

What are the three categories of html5 tags?

青灯夜游
Release: 2022-05-18 16:36:45
Original
3860 people have browsed it

There are three types of html5 tags: 1. Block-level elements, whose display value is "block", are characterized by being able to set width, height, margins, and automatic line wrapping; 2. inline elements, whose display value is "inline" will not wrap automatically, and the width and height cannot be set; 3. Inline block elements will not wrap automatically, and the width and height can be set.

What are the three categories of html5 tags?

The operating environment of this tutorial: Windows 7 system, CSS3&&HTML5 version, Dell G3 computer.

Classification of html5 tags

Tags are also called elements

  • can be based on tag characteristics Divided into: block tags, inline (inline) tags, inline block tags

  • According to the label closing rules, it can be divided into: single label (empty label, self-closing label), double label

Commonly used block elements:

....

Related labels:
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
Latest Issues
html5 validation for symfony 2.1
From 1970-01-01 08:00:00
0
0
0
The difference between HTML and HTML5
From 1970-01-01 08:00:00
0
0
0
html5 show hide
From 1970-01-01 08:00:00
0
0
0
Can PDF files run HTML5 and Javascript?
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template