Normally, pages start with a title. In Notepad, you make a title by writing <title> and </title>, as we did in the last lesson. This is a repeat of part of that page:
So a basic page might begin like this:
<html>
<head>
<title> Pat's Web Page </title>
</head>
</html>
So the only thing you would see in a browser are the words: Pat's
Web Page.
To this, I would like for you to add a new tag: <h1> and </h1>. This new tag is called the heading tag.
Your page should now look like this:
<html> <title> Pat's Web Page </title>
<h1>Your Name Web Page> </h1> </html>
You may designate the tags h1 through h6. Make heading, "Your name web page". When you save it again as html, should look like below.
Your Name Web Page
This is h6.
The code for this line looks like this:
<h6>Your Name Web Page> </h6>
Your Name Web Page
This is h5.
The code for this line looks like this:
<h5>Your Name Web Page> </h5>
Your Name Web Page
This is h4.
The code for this line looks like this:
<h4>Your Name Web Page> </h4>
Your Name Web Page
This is h3.
The code for this line looks like this:
<h3>Your Name Web Page> </h3>
Your Name Web Page
This is h2.
The code for this line looks like this:
<h2>Your Name Web Page> </h2>
Your Name Web Page
This is h1.
The code for this line looks like this:
<h1>Your Name Web Page> </h1>
So now you know how to change the size of a header or a title whenever you want to. See you are already on your way to understanding HTML.