-
Notifications
You must be signed in to change notification settings - Fork 29
Use <p></p> instead of <br/> #19
Comments
+1 |
Simple adding paragraphs using something like:
results in (lots of) paragraphs around each text section, for example
becomes
Lots of paragraphs, even without a single newline! Using
and putting the opening and ending tag before and after the test, solves this
but would become
So solving this issue is not as trivial as I initially assumed and some more thoughts on the subject are required... |
Additionally, using the |
Just a reminder. According to the official reference, newlines should not be treated as paragraph borders (see tag [*]). Double newlines however can be. |
It is nicer (HTML) to use paragraphs (
<p>...</p>
) instead of<br />
for newlines/paragraphs.Furthermore, the
<p>
HTML elements can be styled (e.g. using CSS) making the output more flexibleThe text was updated successfully, but these errors were encountered: