A paragraph is one of the most common elements in HTML, mostly due the fact that writers use it naturally to organize sentences and text sequences.
Paragraph should not contain other block level elements, including other paragraphs.
Syntax:
<p></p>
Attributes:
- id, class (document-wide identifiers)
- lang (language information), dir (text direction)
- title (element title)
- style (inline style information)
- onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown, onkeyup (intrinsic events)
Example
HTML paragraph element:
Comments
No comments have been made yet.
Please login to leave a comment. Login now