basics of website design banner photo

HTML

HTML 5

CSS 2.1

CSS 3

Reference

HTML <p> Element

The <p> element contains a paragraph of text which by default creates space before and after itself. This space is applied by the browser or the space can be altered using CSS styles, for example, by using the text-indent property to indent the first line of text. <p> elements cannot contain block level elements and also cannot be nested - you cannot have a <p> element inside another <p> element.

Example code:

<p>Paragraph one</p> <p>Paragraph two</p>

Result:

Paragraph one

Paragraph two

HTML 4 Element List