Sample Web Page

What Is HTML?

HTML stands for HyperText Markup Language. HTML codes (often referred to as "tags") usually work in pairs to control the way words and images appear in web browsers such as Netscape Navigator/Communicator or Microsoft Internet Explorer. For example, the code surrounding "Sample Web Page" above consists of two "header" tags:

<h1 align=center>Sample Web Pages</h1>.

When you look at the HTML code used to create this page, you will find similarities with most word processors, i.e., specific sections of text are "marked" to make them appear a certain way. You can view the code for this page two ways: 1) from the upper menu of your web browser, select "view" followed by "page source," or 2) return to the previous screen and select "HTML Code Used to Create Sample Web Page." The first option includes "comments" that help explain the code; it also provides a great way to see how others design their web pages, i.e., what code they use. The second option does not include the comments so that you can easily see how much HTML code is needed for this page.

HTML codes also provide a way to create bulleted or numbered lists:

You can create a hypertext link to another web document, whether one of your own or someone else's, by using a "link" such as this one to the home page for SAFECO Insurance Company. You can also include a link to your e-mail address so that someone can click on the address and have an e-mail window pop up complete with your address already in the e-mail window, e.g., your Instructor.

You can include images in web pages: or align text to be in the middle or on the right.

Finally, there are a growing number of excellent HTML editors which make this process about as easy as using a word processor. Although it helps to understand what's going on in the background with the HTML code, in most cases you won't have to worry about it.