
In this hour, you are introduced to the most basic and important HTML tags. By adding these coded commands to any plain text document, you can quickly transform it into a bona fide Web page. The first step in creating a Web page is to put a few obligatory HTML tags at the beginning and end, including a title for the page. You then mark where paragraphs and lines end, and add horizontal rules and headings if you want them.
(View HTML tags covered in Hour 2.)
The First Web Page
(Figures 2.1 - 2.2)
Every Web page you create must include the <HTML>, <HEAD>, <TITLE>, and <BODY> tags.
The Advertising Agency Song
(Figures 2.3 - 2.4)
In HTML, extra spaces and line breaks are ignored. Line breaks and paragraph breaks only appear where there are <BR> and <P> tags.
Teach Yourself Clock Programming in 13 Hours
(Figures 2.5 - 2.6)
Any text between <H1> and </H1> tags will appear as a large heading. <H2> and <H3> make smaller headings.
These rhymes look identical in a Web browser, even though the spacing and line breaks are different in the HTML file.
Tommy Thumb's Pretty Song Book
The <BR> tag starts a new line. <P> does the same thing, but also inserts a blank line between paragraphs.
Another example of how to add headings and sub-headings to text.
"You can use any text editor or word processor to create HTML Web pages. Though you may eventually want to use an editor especially designed for HTML, for now I recommend you use the editor or word processor you're most familiar with. That way you won't have to learn a new software program at the same time you're starting to learn HTML. Even a simple text editor like Windows Notepad will work just fine."