Horje
How to create HTML Headings

HTML headings are defined with the <h1> to <h6> tags.

<h1> defines the most important heading. <h6> defines the least important heading:


How is to look HTML Headings Code?

<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>

Why we use HTML Headings Code?

HTML Headings Code makes a title Upper and Lower. If you use <h1>Most Upper Title</h1> then <h6>Most Lower Title</h6>.

Output should be:

Why we use HTML Headings Code?

Full Example of HTML Headings

Below has given code to understand HTML Headings. Follow it.
index.html
Example: HTML
<!DOCTYPE html>
<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>

Output should be:

Full Example of HTML Headings



Related Articles
How to create HTML Documents HTML Basic
How to create HTML <!DOCTYPE> Declaration HTML Basic
How to create HTML Headings HTML Basic
How to create HTML Paragraphs HTML Basic
How to create HTML Text Links HTML Basic
How to create HTML Image HTML Basic
How to View HTML Source HTML Basic

Single Articles
How is to look HTML Headings Code?HTML Basic
Why we use HTML Headings Code?HTML Basic
Full Example of HTML HeadingsHTML Basic

Read Full::
HTML Basic
Category:
Web Tutorial
Sub Category:
HTML Basic
Uploaded:
1 year ago
Uploaded by:
Admin
Views:
151



Share on: