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
1. SSH remote management SSH Definition SSH (Secu...
Preface After this blog post was published, some ...
The following is a bar chart using Flex layout: H...
Currently, Docker has an official mirror for Chin...
Table of contents 1. Introduction 2. First, let...
Table of contents 1. From father to son 2. Son to...
The installation method of MySQL5.7 rpm under Lin...
There is a table in the project that needs to be ...
The answer you often hear is that using a NULL va...
This article shares the specific code of javascri...
MySQL Advanced SQL Statements use kgc; create tab...
Rendering Define the skeleton, write HTML and CSS...
When a request is sent to your server to display ...
Install mysql under win10 1. Download MySQL from ...
The reason for writing such an article is that on...