HTML CSS IMAGES LINKS
 
HTML → Viewing your page

Once you have saved your HTML file, you may view it in a web browser. It is common practice to view your pages on multiple browsers, as well as both PC and Mac systems. The display of your page relies on many components, most of which we have no control over. The type of computer, the size of the monitor, and the type and version of the browser all may affect the way our pages display.

After saving your HTML file, you may launch your web browser. From the file menu select the Open File or Open Page in Browser command. Locate the HTML file that you have saved on your system, select it and press OK or Open.

Once you have viewed a page in your browser, you may return to your text-editing application, make edits to your HTML document, save it, return to the browser application, and then hit Reload (or Refresh) in the browser to view a fresh copy of your document. Refreshing (or reloading) will force the browser to reexamine the HTML file prior to displaying it.

We author HTML in our text application and view it in the browser. Do not get confused.

At the moment your web page may look empty. However, if you look at the title bar (at the very top of your browser window), you will notice the title you gave your page appearing there.

Let's add text to the body section.

The <body> </body> tag will contain most of the visible content of your page. Place your name between the opening <body> and the closing </body> tag, like so:

<body>
Your Name
</body>

Save your page again in your text editor and refresh it in the browser. Your name should now appear in your browser.



 
  back ↑