When you have completed your web page, save the document. In Notepad, first choose File ➝ Save. At the bottom of the Save As dialog box box in the coding list, select UTF-8. (Your web page will work even if you Do not take this step, but it keeps validators happy.) In TextEdit, you must first choose Make Plain Text Format ➝ to ensure that the program saves your page as a plain text file (not rich, a binary document). Then you can use File ➝ Save to save the file. In the encoding of plain text box, choose Unicode (UTF-8). When naming your file, use the extension. Htm or. Html (see note below). For example, a typical HTML file name is LimeGreenPyjamas.html. If you use TextEdit, the program will ask if you really want to use the. Htm or. Html txt instead of the standard text file;. click “Use .. htm” No step is required in Notepad. However, in the “Save as type” box, you’ll need to choose All Files (*.*) instead of Text Documents (*. txt) if you want to see your HTML files in the file list. Note: Technically, you can use any file extension you want. However, using. Htm or. Html saves confusion (you know immediately the file is a webpage) and avoids common problems. To For example, using a htm. or file extension. html ensures that when you double-click the file name, your computer knows to open it in a web browser and not another program). It is also important to use .. The extension htm or html, if you plan to transfer your files to a Web server, the server may refuse to Barbarism hand on pages that have non-standard extensions. 4. To view your work, open the file in a Web browser. If you use the extension. Htm or. Html, opening a page is usually as easy as Double-clicking the file name. Otherwise, you might need to type the full path of the file address bar of your browser, as shown in Figure 2-3. Remember, when you compose your HTML document in a text editor, you will not be able to see the formatted document. All you see is the text clear and HTML formatting instructions. Tip: If you modify and save the file after opening it in your browser, you can take a look at your Recent changes by updating the page. In most browsers, which is as easy as right-clicking the page and Refresh or Reload choosing. 24 the creation of a website: The Missing Manual Introducing HTML: Language Web Figure 2-3: A browser’s address bar reveals that the current Web page is actually located. If you see “http://” in address, it comes from a web server Internet (above). If you viewing a Web page on your own computer, you just see a regular file path (middle, showing a file location Windows in Internet Explorer), or you see a URL that begins with ‘:///” the file prefix “(bottom showing the location of the file Chromium). Local addresses