The browser knows what kind of page it is handling based on the tag that opens
the page, , and the tag that closes the page, . The great majority of HTML tags come in
such pairs, in which the closing tag always has a forward slash before the keyword. Two examples of tag
pairs are:
...
and
.... A few important tags are represented by a single element:
the image tag
![]()
, for example.
The HTML page is divided into two primary sections: the and the . Information relating to
the entire document goes in the section: the title, description, keywords, and any language subroutines
called from within the . The content of the Web page is found in the section. All the
text, graphics, embedded animations, Java applets, and other elements of the page are found between the
opening and the closing tags.
When you start a new document in Dreamweaver, the basic format is already laid out for you. Listing 6-1
shows the code from a Dreamweaver blank Web page.
LISTING 6-1
The HTML for a New Dreamweaver Page
Untitled DocumentI cover the opening tag in the ???doctype and doctype Switching??? section a little later in the
chapter.
Pages:
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373