• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 20. Help! My Page Doesn't Work! > The Browser Displays the Code

The Browser Displays the Code

Although you may be proud of your HTML coding, when you view your file with a browser, you want that code converted into a beautiful Web page, not displayed for all to see.

Figure 20.3. If you set Windows to "hide file extensions for known file types" (choose View > Folder Options > View), the file on the right looks like an html file even though it's really a text file (with the full name of "validator.html.txt". And where did that extra ".txt" extension come from? In Windows, some programs think they know better and add it for you automatically. To avoid such things, enclose the file name in double quotation marks.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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