HTMLClassification of tags
When talking about tag classification, as beginners, when we first use tags, we will find that some attributes are on some tags Does not work, such as width, height, horizontal centering, etc. In fact, the use of this attribute only works when used on block-level tags. Personally, I think this is something that beginners can easily overlook, so I wrote it down!
First of all, we can divide theHTMLtags into block-level tags, in-line tags, and in-line block tags according to the differentdisplays; now we will introduce them respectively. .
Block-level tags
## Features:is on one line, It takes effect for the settable attribute values of height, width, line height, and top and bottom margins; if no width is given, the block-level element defaults to the width of the browser, which is100%width;
Typical block-level tags are:
, h series,
,