HTML Paragraph
HTML paragraph or HTML p tag is used to define a paragraph in a webpage. Let's take a simple example to see how it work. It is a notable point that a browser itself add an empty line before and after a paragraph. An HTML <p> tag indicates starting of new paragraph.
Example:
<html>
<head>
<title>Body
and its attribute</title>
</head>
<body
bgcolor="pink">
<center>
<p align="center"> This
is Raj from jaipur </p>
<p align="left"> i like to play cricket</p>
<p align="right"> i like
to watch movie</p>
</center>
</body>
</html>
No comments:
Post a Comment