HTML and CSS Reference
In-Depth Information
<p>
Function Defines a paragraph of text
align , class , dir , id , lang , onDblClick ,
onKeyDown , onKeyPress , onKeyUp , onMouseDown ,
onMouseMove , onMouseOut , onMouseOver ,
onMouseUp , style , title
Attributes
End tag
</p> ; often omitted in HTML
Contains
text
Used in
block
In general, you'll find that human document authors tend to omit postu-
lated tags whenever possible, and automatic document generators tend
to insert them. That may be because the software designers didn't want
to run the risk of having their products chided by competitors as not
adhering to the HTML standard, even though we're splitting letter-of-
the-law hairs here. Go ahead and be defiant: omit that first paragraph's
<p> tag and don't give a second thought to paragraph-ending </p> tag-
sprovided, of course, that your document's structure and clarity are not
compromised (that is, as long as you are aware that XHTML frowns
severely on such laxity, too).
Search WWH ::




Custom Search