Adding a Title

The next item you need to add is the title of the Web page. The page's title is just about what you might think it is: the overall name of the page (not to be confused with the name of the file you're creating). If someone views the page in a graphical browser (such as Netscape or Internet Explorer), the title appears in the title bar of the browser's window.

To define a title, surround the text with the <TITLE> and </TITLE> tags. For example, if you want the title of your page to be My Home Sweet Home Page, you would enter it as follows:

<TITLE>My Home Sweet Home Page</TITLE>

Note that you always place the title inside the head section. Your basic HTML document will now look like this:

 <HTML> <HEAD> <TITLE>My Home Sweet Home ...

Get Windows® 98 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.