Why can it set the height, but unlike elements like <h1 />, it feels like it is a "semi-inline" (inline: inline[text]-level) element. HTML 4 describes it this way: The following elements may also be considered block-level elements since they may contain block-level elements:
This description seems to be saying that
Here, it is basically clear. In A-Grade browsers other than IE6/7, it is a "semi-inline" element. Speaking of
Right. Actually, this doesn’t mean much. But it also solved one of my doubts. Share it. If you have such doubts, maybe next time when you encounter a bug or other questions during coding, you will be able to react quickly. |
<<: Seven Principles of a Skilled Designer (1): Font Design
>>: Mobile terminal adaptation makes px automatically converted to rem
After the form input box input is set to the disa...
This article uses examples to illustrate the prin...
Phenomenon There are several nested flex structur...
Table of contents 1. Introduction 2. Actual Cases...
Main library configuration 1. Configure mysql vim...
Use of clip-path polygon The value is composed of...
Table of contents Storage Engine Storage engines ...
Table of contents The principle of Vue asynchrono...
We will install phpMyAdmin to work with Apache on...
Reasons why the 1px line becomes thicker When wor...
Table of contents Implementing HTML Add CSS Imple...
Three ways to define functions in JS Let me expla...
To replace a string, we need to use the following...
This article shares the specific steps of replaci...
Table of contents Why use websocket Socket.io Ope...