1. Home
  2. Computing & Technology
  3. Web Design / HTML

Displaying HTML vs. What Displays in a Web Browser

By , About.com Guide

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".

<html>
<head>
<title>This is my Web page</title>
</head>
<body>
<h1>My First Web Page</h1>
<p>
This is my first Web page, and it's got a
lot of stuff to think about.
</p>
<p>
Brought to you by:<br />
<address>
ME!
</address>
</p>
</body>
</html>
Explore Web Design / HTML
About.com Special Features

The Best Web Trends of the Decade

A look back at the best innovations, ideas and technologies over the last 10 years, More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  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>

©2010 About.com, a part of The New York Times Company.

All rights reserved.