Heading tags
Heading in html can be defined using this tag.There are <h1> to <h6> heading tags.It is a container tag.
The following example will demonstrate the heading tags
<html>
<body>
<h1>This is heading 1</h1>
<h2>This is heading 2</h2>
<h3>This is heading 3</h3>
<h4>This is heading 4</h4>
<h5>This is heading 5</h5>
<h6>This is heading 6</h6>
</body>
</html>
Ouput
Paragraph tag
HTML paragraphs are defined with the <p> tag.
example
<html>
<body>
<p>This is paragraph 1.</p>
<p>This is paragraph 2.</p>
<p>This is paragraph 3.</p>
</body>
</html>
Output
This is paragraph 1.
This is paragraph 2.
This is paragraph 3.
Heading in html can be defined using this tag.There are <h1> to <h6> heading tags.It is a container tag.
The following example will demonstrate the heading tags
<html>
<body>
<h1>This is heading 1</h1>
<h2>This is heading 2</h2>
<h3>This is heading 3</h3>
<h4>This is heading 4</h4>
<h5>This is heading 5</h5>
<h6>This is heading 6</h6>
</body>
</html>
Ouput
This is heading 1
This is heading 2
This is heading 3
This is heading 4
This is heading 5
This is heading 6
Paragraph tag
HTML paragraphs are defined with the <p> tag.
example
<html>
<body>
<p>This is paragraph 1.</p>
<p>This is paragraph 2.</p>
<p>This is paragraph 3.</p>
</body>
</html>
Output
This is paragraph 1.
This is paragraph 2.
This is paragraph 3.