Where and how to add paragraph?


Replace this line with your code.


To add a paragraph in HTML you use the <p>some text</p> tags


Paragraphs in HTML are defined by paragraph tags, like so:

<p>Paragraph one. text text text text</p>
<p>Paragraph two. text text text text</p>

They are display elements and therefore live inside the <body>...</body> tags.

By default, paragraphs are display:block elements. This means that, in the example above, the second paragraph will always appear below the first, instead of next to it, as it would if they were both display:inline, this can always be changed with CSS, however.

For more information on paragraphs in HTML, see MDN's page on them.


you put the Paragraph in between the opening body code but under the h1 code


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