Hosting Solutions
mobile_logo Table of Contents
seal_frontseal_back

p

The <p> element is used to specify a paragraph of text in the web document. It will separate its content from other content around it to give paragraph-like vertical margin spacing, margin spacing that can be expanded or collapsed using CSS.

Code Example

<p>I am a paragraph of text content...</p> <p>I am a paragraph of text content...</p> <p>I am a paragraph of text content...</p> open in code editor

Attributes

globals - the global attributes common to all elements possible values: see global attribute list

Official Documentation

http://www.w3.org/TR/html/grouping-content.html#the-p-element

HTML

Elements

aabbraddressareaasidearticleaudiobbasebdobdiblockquotebodybrbuttoncanvascaptioncitecodecolcolgroupdatadatalistdddeldetailsdfndialogdivdldtemembedfieldsetfigcaptionfigurefooterformh1 h2 h3 h4 h5 h6headheaderhrhtmliiframeimginputinskbdkeygenlabellegendlilinkmainmapmarkmetameternavnoscriptobjectoloptgroupoptionoutputpparampreprogressqrb rp rt rtc rubyssampscriptsectionselectsmallsourcespanstrongstylesub supsummarytabletbodytdtemplatetextareatfootththeadtimetitletrtrackuulvarvideowbr