HTML p
From Htmlpedia
Contents |
HTML Element P
Definition and Usage
The <p> tag defines a paragraph.
It is a block box container and as is as a line break at the end. This line break generally forces a two line gap after the paragraph.
Examples
<p>Your Paragraph</p>
Attributes
Optional attributes
| Attribute | Value | Description | DTD |
|---|---|---|---|
| align | left right center justify |
Specifies the alignment of the text within the paragraph. Deprecated. Use styles instead | HTML4 Transitional Frameset |
Standard Attributes
id, class, title, style, dir, lang
Event Attributes
onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown, onkeyup
Tags in Tag
- Fontstyle
- Phrase
EM, STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, ABBR, ACRONYM
- Special
A, IMG, OBJECT, BR, SCRIPT, MAP, Q, SUB, SUP, SPAN, BDO
- Form
INPUT, SELECT, TEXTAREA, LABEL, BUTTON