bell notificationshomepageloginedit profileclubsdmBox

10% popularity   0 Reactions

If you set properties for <body>, it will affect even elements like headers (<h1>...<h6>), lists (<ul>, <li>), and everything else, not just regular paragraphs (<p>).

This could be what you want to achieve, but in the most common scenarios, I think that it is better to style every element on its own. In example, text indent is not something that you usually want to see on titles/headers.

Applying styles to <body> is useful in all those cases where you want or need to apply some property to all of your text, in example to set the default font for your book, or to set the minimum margins of the text blocks from the ereader screen border, and so on.


Free books android app tbrJar TBR JAR Read Free books online gutenberg


Load Full (0)

Login to follow story

More posts by @Erin

0 Comments

Sorted by latest first Latest Oldest Best

 

Back to top