Saving and Naming Web Page Files

Whether you create it with a template or from scratch, you need to save your new Web page file early and often.

When you save a file in Composer, you give it a name—presumably the name by which it will be stored on a Web server when published. And when it comes time to publish a Web page, names can be tricky. For example, Windows 98, Windows 2000, Windows Me, and even the Macintosh all allow you to use spaces and punctuation in filenames, but you should not do so when naming Web page files. Composer permits you to do it, but when you attempt to publish the files, you will find that browsers cannot open them.

In general, as long as you use a filename extension of .htm or .html and eliminate spaces and punctuation, ...

Get Sams Teach Yourself Internet and Web Basics All in One now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.