O'Reilly logo

HTML5 24-Hour Trainer by Mark Fletcher, Joseph W. Lowery

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

OPENING FILES IN A BROWSER
FIGURE 3-1

Figure 3-1. FIGURE 3-1

If you're an Internet Explorer user, the steps are slightly different:

  1. Choose File

  2. When the Open dialog box appears, click Browse.

  3. In the Windows Internet ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required