Paragraph
HTML ⚭ Jun 6, 2016 ⚭ 255 views
Html Paragraph
Paragraph is a distinct section of a piece of writing. In Html paragraphs are define by <p> tag. The <p> element offers a way to structure your text. Each paragraph of text should go in between an opening <p> and closing </p> tag.
Most browsers will display Html correctly even if you forget the end tag but future version of Html will not allow you to skip end tags.
Html <p> Elements
Html align Attribute
The align attribute is supported in all major browsers. The align attribute specifies the alignment of the text within a paragraph.
Align Attribute Values
Value | Description |
---|---|
left | Left aligned the text of a paragraph. |
right | Right aligned the text of a paragraph. |
center | Center aligned the text of a paragraph. |
justify | Stretches the lines so that each line has equal width from both side like in newspapers and magazines. |