Information For

E-mail this page to a friendE-mail this page

File Naming Conventions

Your web files should all have HTM or HTML file extensions, and the filenames themselves should not contain spaces or punctuation marks. Special exceptions exist where the files are Active Server Page files containing ASP script: if you're dealing with an ASP script, your page must have an ASP file extension.  Some web servers are case sensitive: ours isn't.  

According to the naming conventions, the following filenames are all appropriate:

DogAteMyEssay.htm

NewAssignment.html

Blinking.htm

LookHere.asp

And, by the same token, all of these are inappropriate as HTML format file names:

First.doc

Last Day

Look out.htm

Run this.asp

You should also venture to ensure that every folder that you create on your web site has a page named index.htm, index.html, default.htm, or default.html . These are the pages to which your site visitors will automatically be referred when they specify a folder on your web site without also specifying a particular web page.

The titles of web pages (the words that appear in the title-bar of the browser) can contain spaces.  Not to be confused with the name of the file, the title is a part of the HTML document. Follow this link for more on adding titles.


Comments or questions? Please contact Dr. Peter Friesen , Instructional Technology Coordinator, Plattsburgh State University.
Was this page helpful?

This is an official publication of Plattsburgh State

Copyright © 1996-2007 Plattsburgh State 101 Broad Street, Plattsburgh, NY 12901 Phone: (518) 564-2000