22 Mar Creating Paragraphs in HTML Web Page
To create paragraphs in an HTML web page, use the <p> element. The opening and closing tag look like,
<body> <p></p> </body>
The <p>…</p> comes inside the <body>…</body> tags. The below example shows how to add paragraph in a web page,
<!DOCTYPE html>
<html>
<head>
<title>HTML Paragraphs Example</title>
</head>
<body>
<h2>Learn for free</h2>
<p>Adding paragraphs in a web page.</p>
<p>Studyopedia is a free learning website. It provides free learning for all.</p>
</body>
</html>
The output:

More Examples
- Creating HTML Document
- Creating Headings in HTML web page
- Page links in an HTML Web Page
- Inserting Image in HTML
- Add Title in an HTML web page
- How to create horizontal line in HTML Page
- The href attribute in HTML Page
- Image height and width attribute in HTML
- Inserting Hyperlinks on an HTML web page?
- Why head tag is used in HTML?
- How to set background color in HTML?
- How to set font color in HTML
- How to use StyleSheet in HTML
No Comments