HTML 5 <p> Tag
Example
How to use the output element in a form:
<p>This is some text in a paragraph.</p> |
View it » |
Definition and Usage
The <p> tag defines a paragraph.
The p element automatically creates some space before and after itself. The
space is automatically applied by the browser, or you can specify it in a style
sheet.
Differences Between HTML 4.01 and HTML 5
The align attribute, which was deprecated in HTML 4.01, is no longer
supported in HTML 5.
Tips and Notes
Tip: You should not use the <p> element when other elements are more
appropriate.
Standard Attributes
The <a> tag also supports the Standard Attributes in HTML 5.
Event Attributes
The <a> tag also supports the Event Attributes
in HTML 5.
|