HTML:Element:p
From MDC
[edit] Summary
Paragraph element represents a paragraph (suprising, isn't it?). It is the most common used element.
- Element type: block-level
- Allowed content: inline
[edit] Example
<p>This is the first paragraph of text. This is the first paragraph of text.
This is the first paragraph of text. This is the first paragraph of text.</p>
<p>This is second paragraph of text. This is second paragraph of text.
This is second paragraph of text. This is second paragraph of text.</p>
Above HTML will output:
This is the first paragraph of text. This is the first paragraph of text. This is the first paragraph of text. This is the first paragraph of text.
This is second paragraph of text. This is second paragraph of text. This is second paragraph of text. This is second paragraph of text.
[edit] Notes
To change gaps between paragraphs use CSS margin property. Do not insert empty paragraphs elements or line breaks (<br>) between them.
[edit] See also
| HTML Elements |
| A B C D E F G H I J K L M N O P Q R S T U V W X Y Z |
| (Quick Links: HTML Element Cross Reference, HTML Category) |