Table Of Content
HTML Paragraphs Tutorial
The <p> element in HTML represents a paragraph. The paragraph usually displays as a block. It is separated from other blocks by a blank line or an indented first line.
<h3>Paragraphs</h3> <p>Geckos are a group of usually small, usually nocturnal lizards. They are found on every continent except Australia.</p> <p>Some species live in houses where they hunt insects attracted by artificial light.</p>
The <p> element is commonly used for textual content. It may contain inline elements. You should not use it to contain block-level elements. The HTML parser will automatically close the paragraph if it encounters a block-level element that appears in the <p> opening tag and the </p> closing tag.
Tags should not appear in the <p></p> called "Tag Omission".
<p> The paragraph does not allow <h4>a block-level element</h4> to stay within it. </p>