1. Technology

Displaying HTML vs. What Displays in a Web Browser


1 of 2

There is a Lot More to HTML than What Displays in a Web Browser Window

One of the most difficult things for a new Web designer is to understand the difference between the HTML codes and what is displayed on the Web browser. When you write a Word document or even a Web page in a WYSIWYG editor, all you see is the text (and images) that will display. You may be surprised to find out that there can be as much as twice as much text in the HTML as displays on the screen.

Type the following into a text editor, and save it as "sample.html".

 <title>This is my Web page</title>
 <h1>My First Web Page</h1>
 This is my first Web page, and it's got a 
 lot of stuff to think about. 
 Brought to you by:<br />

©2014 About.com. All rights reserved.