Sunday, November 28, 2021

Headings and paragraph in HTML

<!DOCTYPE html>
<html>
<head>
<title>Headings and paragraphs in HTML</title>
</head>
<body>
<h1>this is first heading </h1>
<h2>this is second heading </h2>
<h3>this is third heading </h3>
<h4>this is fourth heading </h4>
<h5>this is fifth heading </h5>
<h6>this is sixth heading </h6>
<!-- there are six headings in html-->
<p>this is our paragraph</p>
<strong>this is used for bold the paragraph</strong>
<br>
<b>this is also used for bold the paragraph</b>
<br>
<em>this is used for itelic the paragraph</em>
<br>
<i>this is also used for itelic the paragraph</i>
<hr> <!--this is used for creating horizontal row-->
<br> <!--this is used for creating the newline-->
</body>
</html>

output:




No comments:

Post a Comment