-
Book Overview & Buying
-
Table Of Contents
Professional CSS3
By :
There are a few display types in CSS whose definition and behaviors are the foundation of frontend developers. The most known and basic display values are as follows:
Block elements always start from a new line. The most important properties of block elements are width and height, which can be changed from CSS code. For better understanding, let's check the following screenshot:

It is easy to see that all the block elements are taking as much width as they can.
The mainly used HTML block-level elements are as follows:
addressarticleasideblockquotecanvasdivfooterformh1, h2, h3, h4, h5, h6headermainnavoloutputppresectiontableulvideoInline elements can be described as elements that take as much space as they need. It can be best described using the following image:

The mainly used HTML inline-level elements are as follows:
acronymcitecodedfnstrongsampvarabdobrimg...