bell notificationshomepageloginedit profileclubsdmBox

10% popularity   0 Reactions

As Anthon says, there is no need to apply a class to every paragraph, if that paragraph don't need to be styled in a particular way, different from the others.

It is perfectly acceptable to have, in example, <p>This is a simple paragraph without an associated style</p>.

This is a bit beyond the scope of your question, but it is related to "default" text and could be handy to know: if you need to define a default style for all your text (<p>, <div>, <h1>... you got the point), you can define the custom styling to apply to the html <body> tag, in example

body {
font-family: arial, helvetica, sans-serif;
text-align: justify;
font-size: 1.2em;
}

it will set the base style of the text, when not given a different one with more specific tags.

Again, this is not required, most of the times you won't need to set this at all. You should only define it if you don't want your text to use the default settings of the e-reader.


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