Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Naming Your Web Page

It’s important to give your Web page a suitable name so it’s easy to find and works the way you want. The first principle is that Web page names should be short and easy to remember. Try to avoid quirky or unusual punctuation. Keep in mind that the name of the Web page will appear as part of the URL someone might need to enter in order to locate it.

Home pages usually have the standard name index.htm or default.htm. Depending on how the Web server that hosts your page is configured, using one of these standard names means the home page name won’t need to be entered as part of the URL. In most cases, servers recognize the names index.htm, index.html, default.htm, or default.html as home page names. That means if your domain name is www.mysite.com, you don’t have to enter www.mysite.com/index.htm to view your home page. Instead, you simply enter www.mysite.com, and the home page appears by default.

Be sure you enter the correct filename extension at the end of a page that doesn’t use HTML for its markup. The filename extension is the three- or four-letter extension that comes after the dot at the end of the filename. If the filename is contact, and the language being used is HTML, the site that uses pages created with Microsoft’s ASP. NET technology needs to have pages that end with the filename extension .aspx.

  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint