June 2025
Beginner
817 pages
31h 30m
English
You already know that everything consists of rectangular boxes in HTML. This also applies to inline elements such as em, strong, or a. There’s also a box model available for that, which of course differs from the model described so far. For example, you can’t specify a height or width for inline elements, and accordingly, of course, the extended CSS features such as min-width, max-width, min-height, or max-height have no effect on inline elements. Rather, the content determines the height and width. You can manipulate the height via font-size.
There are also differences in margin, border, and padding for the -top and -bottom versions. While everything on the right and left can be used as before, margin-top ...
Read now
Unlock full access