HTML/CSS Help for the "p" element

The "p" element (for paragraph) is one of the most widely used elements and is found on most web pages. Improper HTML may use "br" and "div" elements where "p" should be used instead.

Attributes for "p"
TypeAttribute List
Obsolete Attributes"align"
Global Core Attributes"accesskey", "class", "contenteditable", "contextmenu", "dir", "draggable", "dropzone", "hidden", "id", "lang", "spellcheck", "style", "tabindex", "title", and "translate"
Global Event Attributes"onabort", "onblur", "oncanplay", "oncanplaythrough", "onchange", "onclick", "oncontextmenu", "oncuechange", "ondblclick", "ondrag", "ondragend", "ondragenter", "ondragleave", "ondragover", "ondragstart", "ondrop", "ondurationchange", "onemptied", "onended", "onerror", "onfocus", "oninput", "oninvalid", "onkeydown", "onkeypress", "onkeyup", "onload", "onloadeddata", "onloadedmetadata", "onloadstart", "onmousedown", "onmousemove", "onmouseout", "onmouseover", "onmouseup", "onmousewheel", "onpause", "onplay", "onplaying", "onprogress", "onratechange", "onreset", "onscroll", "onseeked", "onseeking", "onselect", "onshow", "onstalled", "onsubmit", "onsuspend", "ontimeupdate", "onvolumechange", and "onwaiting"
XML Attributes"xml:lang" and "xmlns"
HTML Microdata"itemid", "itemprop", "itemref", "itemscope", and "itemtype"
IE Attributes"align", "hidefocus", "language", "onbeforecopy", "onbeforecut", "onbeforepaste", "oncopy", "oncut", "ondeactivate", "onfocusin", "onfocusout", "onhelp", "onmouseenter", "onmouseleave", "onmove", "onmoveend", "onmovestart", "onpaste", "onpropertychange", "onselectstart", and "unselectable"

NOTE: Using proprietary IE attributes is not recommended. Avoid using any proprietary attribute whenever possible.

Recommended Links

Search Engine Links (for more information)

Forum Help

Discuss & Comment

comments powered by Disqus
Help us improve this page: Suggest a link or noteReport a problem