HTML PARAGRAPH
Paragraph are used to add text to a document in such a way that it automatically adjust atthe end of line to suit the window size of the browser.Each line of text will stretch the
entire length of the window. Paragraphs are defined with the <p> tag.The use of the end tag</p> is optional.
HTML automatically adds an extra blank line before and after a paragraph.
Attributes :Some important attributes of paragraph tag are as follows:
Align:It specifies the alignment of paragraph.The possible values are center, left and right.
The default value is left.
Example:
<p>This is a Paragraph</p>
<p align="center">This is a Paragraph</p>
The above example will align the paragraph to the right side of the page.
Example
<html>
<head>
<title
Minds Mania
</title>
</head>
<body>
<p align="center">HTML stands for Hyper Text Markup Language.It is a formatting language used to develop web pages.
It is very interesting and simple to use</p>
</body>
</html>
0 Comments