Chapter 3. Viewing Web Pages
Viewing your web pages in a browser is an essential part of learning to write HTML code. Not only does it give you a sense of satisfaction (when everything goes right), but it also provides a valuable testing platform (when it doesn't). Throughout the balance of this book, after you've created or modified a web page, you'll be asked to view it in your browser. This lesson shows you how to view and change an HTML page.
OPENING FILES IN A BROWSER
The majority of the time, you'll use your favorite web browser — whether it is Internet Explorer, Firefox, Safari, Google Chrome, Opera, or another — to view pages and sites posted on the World Wide Web. However, your browser is also a very capable tool for displaying locally stored web pages composed of standard HTML.
The steps for viewing a locally saved HTML file in a browser are the same across the spectrum of modern browsers, with a couple of exceptions. The following programs work identically when it comes to viewing a local web page, on either a PC or a Mac:
Firefox
Safari
Google Chrome
To view a saved web page with these browsers, choose File

Figure 3-1. FIGURE 3-1
If you're an Internet Explorer user, the steps are slightly different:
Choose File
When the Open dialog box appears, click Browse.
In the Windows Internet ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access