1. Computing

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 />
  1. About.com
  2. Computing
  3. Web Design / HTML
  4. HTML and XHTML
  5. Beginning HTML Tutorials
  6. Displaying HTML - How the Displaying HTML is Different from the Actual HTML

©2014 About.com. All rights reserved.