Using of paragraph Tag
1. What is the use of paragraph tag?
Ans: This tag is use for writing paragraph or essay and any thing. This is also a container tag <p> </p>.
Just use the tag inside the body tag and all your content will visible on web. Always remember that you need to close the tag after writing you paragraph.
Code:
<html>
<head>
<title>paragraph</title>
</head>
<body>
<h2> Heading</h2>
<p>
Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney
</p>
</body>
</html>
Output will be:
Hope you understand the use of paragraph tag. If you are facing any problem then comment below and i will help you.
0 comments: