When creating web documents and folders, how you name them is crucial.
By convention the first page that a browser will access within a directory is the "index.htm" file.
When saving files or creating folders for web sites, always follow these simple rules:
- No spaces: do not use spaces in file names - use an underscore or something similar. So do not use "my web page.htm" but use "my_web_page.htm" or "mywebpage.htm" instead. The same applies to folders - use "web_pages" or webpages", not "web pages"
- No strange characters: do not use characters such as: /, *, \, >, <, @, &, { because these are used by computers for other purposes. Stick to simple numbers and letters and underscores.
- Use lowercase only: while not a strict rule, it is too easy to create case-sensitive errors (e.g. if a user types in the filename: MyPage.htm but the file is called Mypage.htm - the file may not be found). Also lowercase should be used for HTML tags (e.g.: not <P> but <p>) to comply with future XHTML requirements.