How to set Paragraph


#1

Please help me about Whitespase how to set Paragraph


#2

That is a very vague question. Which lesson are you working on? Please post a link to the exercise. Thanks.

In HTML, a paragraph element is written using P tags, as follows:

<p>This is a paragraph.</p>

As for whitespace, the HTML parsing engine ignores all whitespace when rendering the document.

<p>This is a paragraph.</p>

will render the same as,

<p>
          This is a paragraph.
                                        </p>

It follows then that the first example is more common, and preferred by readers.


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.