Adscend

Click Here



Click Here



Click Here

Sunday 8 September 2013

Paragraph

HTML Paragraph

Paragraphs are defined with the <p> tag.
HTML automatically adds an extra blank line before and after a paragraphs.
Or in other word, this will create a line break and a space between lines.

Example: 1

<html>
<head>
</head>
<body>
<p> Susie is the best ever!</p>
<p>because she can love </p>
</body>
</html>

Output

Susie is the best ever!

because she can love


You will nest other tags inside paragraph tag for fonts, styles and other tags that will be used inside a paragraph. Attributes:

<p align="left">

<p align="center">
<p align="right">

Example: 2

<html>
<head>
<title Paragraph </ title >
</head>
<body>
<p align="left">Text is aligned in left.</p>
<p align ="center"> Text is aligned in center </p>
<p align ="right">You can align text in right.</p>
</body>
</html>

Output

Text is aligned in left.

Text is aligned in center

You can align text in right.



No comments:

Post a Comment