Heading Tags
HTML
heading tag has six levels of headings.
<h1>
is used for Main Heading.
<h2>
is used for Sub Heading.
If there
are further sections under sub Headings then we can use <h3>,<h4>……..<h6>.
For Example:
<h1>This is a Main Heading</h1>
<h2>This is a Level 2 Heading</h2>
<h3>This is a Level 3 Heading</h3>
<h4>This is a Level 4 Heading</h4>
<h5>This is a Level 5 Heading</h5>
<h6>This is a Level 6 Heading</h6>
output
Paragraph Tag
This tag is
used to create a paragraph in the HTML Document With an opening tag <p> and
closing tag </p>.
By default,
a browser will show each paragraph on a new line with some space between it and
any subsequent paragraphs.
For Example:
<p>A paragraph consists of one or more sentences that form a self-contained unit of
discourse. The start of a paragraph is
indicated by a new line. </p>
No comments:
Post a Comment