Web Design - Web Authoring / Intro to HTML: HTML Basics

Sections:  Introduction  |  Section 1  |  Section 2  |  Section 3
Section One:  Part A  |  Part B  |  Part C  |  Part D  |  Part E  |  Part F  |  Part G  |  Part H

It's a Matter of Choice...

Now that you have been introduced to the Terrific Ten you can actually create your very first web page. In fact, you will do this shortly. Before you do, though, it is important to understand the difference between .html and .htm and realize its simply a matter of choice.

Previously, the text stated:

  • "Generally, the name of your home page should be index.html"
And as you learned by watching the File Structure for the Web Video video, if you name your home page index.htm, visitors to your website only need to type your URL in the address bar of their web browser. Visitors to your home page DO NOT need to add the /index.htm to the end of your site's URL in order to access your home page. It is HTML magic.

While this information is correct, it is important to understand that you can also name your home page index.html (note the added "l"). Naming your home page as such will still allow visitors to access your home page by simply typing in your site's URL in the address bar of the web browser. Visitors to your home page DO NOT need to add the /index.html to the end of your URL in order to access your home page. Further HTML magic.

As a web designer, you can save your HTML documents either with the .html file extension or with the .htm file extension – it is a matter of preference on the part of the web designer, you! One piece of advice: decide on a file extension to use and stick to it!

NextNext

© 2008 KCDL. All rights reserved.