Home ] FAQ ] Web Pages ] Other Sites ]

 

First Web Page

Creating your first web page may seem like a daunting task, but it is very simple. Just open a text editor, and type the following:

<html>
<head>
<title>My first page</title>
</head>
<body>
This is my first web page.
</body>
</html>

That's it! Now you have a web page. To view the page, you will need to save it as "firstPage.html" and then go to your web browser and open it with the "Open File" option (usually on the File menu). It should look just like this page.

This file consists of many "tags". Each tag starts with a less-than symbol and ends with a greater-than symbol. For example, <title> is a tag that indicates the beginning of the page title (which will appear in the title bar at the top of your web browser). There is a matching </title> tag to indicate the end of the title.

All of the tags above must appear on every web page, but the vast majority of the content for a web page occurs within the body section. This is where all of the text for the page occurs, as well as many other tags to spice things up.