The Inspiration of Others
One of the easiest ways to expand your (X)HTML fluency is by looking at your how other pages. view and graphics, files may use other designers' pages for inspiration with your (X)HTML, and then create your own contents.
To view other designers' (X)HTML code:
Open a Web page with any browser.
Figure 2.25 All browsers have a menu command that lets you view a page's (X)HTML code. The name varies from Page Source (in Netscape, shown) to View Source, to just Source.
Figure 2.26 Most browsers will also let you right-click (click and hold on a Mac) and choose the Source command (however it's called) from the pop-up menu that appears.
Figure 2.27 Some browsers display the code in the specified text editor. Others, like Netscape, let you choose between the default window right inside the browser or your preferred text editor.
If desired, save the file for further study.
You can also save the source code by selecting File > Save As and then HTML Source in the Format pop-up menu in the dialog box that appears.
Most browsers also let you right-click (or click and hold on a Mac) and then choose a source command (of varying wording) from the pop-up menu (Figure 2.26). This is also a good way to look at the code for a frame (which you'll learn about in Chapter 15, Frames).