Lesson 1: Basic HTML Tags
(Preformatted Text)

HTML ignores extra spaces, tabs, and carriage returns and displays them as a single space. In the example below, the gaps will close up and the words will be separated by single spaces.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Welcome to HTML</title>
</head>

<body bgcolor="#bdbdbd" text="black">
This       text         will      all
        end    up   close
together  on   the same line.
</body>
</html>