Classification of HTML tags When talking about tag classification, as beginners, when we first use tags, we will find that some attributes do not work on some tags, such as width, height, horizontal centering, etc. In fact, the use of this attribute Only works if 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 HTML tags into block-level tags, inline tags, and inline block tags according to different displays; we will introduce them respectively. Features of block-level tags: Occupy an exclusive line, and take effect on 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, that is, 100% width ; Typical block-level tags are:
, h series,
,