From the course: Dreamweaver CS6 Essential Training

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Exploring file naming conventions

Exploring file naming conventions - Dreamweaver Tutorial

From the course: Dreamweaver CS6 Essential Training

Start my 1-month free trial

Exploring file naming conventions

As you create files for the Web understanding the rules governing their naming is vitally important. If your files aren't named correctly, certain pages might become inaccessible or just not work properly. Remember that webpages contain links to other webpages and assets. If file naming isn't handled correctly, your site's functionality can really suffer. Fortunately, the rules for Web file naming conventions are pretty easy to follow. First, don't use any spaces in your file names. If you have a file that's longer than one word, use an underscore or a hyphen to separate the words. Most Web servers will allow file name as spaces, but when the link is resolved, the special character, %20 is used in place of that space. So if you've ever seen that in the URL, now you know what that's referring to. Now, this is really messy and can lead to a lot of confusion when sending links or displaying URLs. Second, shorten the file names when you can. Rather than using something like about_us.htm…

Contents