Introduction to block tags and inline tags in HTML

零下一度
Release: 2017-06-24 11:44:37
Original
9960 people have browsed it

HTML tags are generally divided into two types: block tags and inline tags. They are also called block elements and inline elements.

Block element

Each block element usually occupies a whole row or multiple whole rows by itself. You can set width, height, alignment and other attributes for it. It is commonly used The construction of web page layout and web page structure. And block-level element containers can accommodate multiple nested block-level tags or inline tags. Common block elements include

~

,

,

,
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