HEADINGS

Headings are a very important part of an HTML page.

To use them we use the tags,

<h1>      It is the biggest heading.

<h2>     It is the second biggest heading.

<h3>     It is the third biggest heading.

<h4>     It is the fourth biggest heading.

<h5>      It is the second smallest heading.

<h6>      It is the smallest heading.

The code for the following should be :-

<!doctype html>
<html>

<head><title>html_schooling</title></html>

<body>

<h1>Hello! </h1>

<h2>Hello!</h2>

<h3>Hello!</h3>

<h4>Hello!</h4>

<h5>Hello!</h5>

<h6>Hello!</h6>

</body>

</html>

 

Advertisements