Step Four: Start the Page
The very first thing you need to put into your HTML file is a tag that identifies the entire file as an HTML file.
The tag looks like this:
<html>
It tells the browser that this file contains HTML-tagged data.
You can use either upper or lower case letters. The browser doesn't care.
Step Five: Make a Head
Now you have an open file with one html tag in it. The next thing you'll do is create a header section. The head is the first part of the page and contains information about the page, like its title.
In a basic HTML file, the head has two kinds of tags. First, is a tag that identifies the section as a head. Then, inside the head, is one that identifes some text as a title. This is how you type the head tags:
<html>
<head>
<title>My First Web Page</title>
</head>
Did you notice that the last two tags you typed were the same as the first two, except they began with a slash ( / )? This is something you will see frequently in HTML. The slash is the way you end a "container" tag. You start the header and then you end the header. You start a title and then you end the title. It's pretty straightforward.