
Editing HTML in Dreamweaver
325
Heading tags
—that is,
h1
through
h6
tags—mark the text as headings. Headings
are typically displayed in the Web page with larger or bolder text than normal
body text;
h1
is the largest and
h6
is the smallest. You always need the opening tag
in front of your content, followed by the closing tag at the end of the content, as
in this example:
<h1> This is a heading 1</h1>
Paragraph tags
(
p
) separate your text content into paragraphs. Because Web
browsers wrap lines and ignore carriage returns, you must use
p
tags to prevent
browsers from running all your text content together. The
p
tag adds extra white
space between lines. You always need the opening tag in front of your paragraph
content, followed by the closing tag at the end of the content, as in this example:
<p>
I am a two-year-old Siamese cat who lives in San Francisco with my
two owners.
</p>
<p>
I like to eat all kinds of food, especially cheese.
</p>
Line break tags
(
br
) force line breaks in your page, rather than adding extra white
space like the paragraph tag. Because the
br
tag inserts a single line break, you do
not need to include a closing tag.
Line break tags
Space created
by line breaks
Summary of Contents for 38028779 - Macromedia Dreamweaver - Mac
Page 1: ...macromedia Using Dreamweaver...
Page 148: ...Chapter 4 148...
Page 296: ...Chapter 12 296...
Page 472: ...Chapter 18 472...
Page 512: ...Chapter 21 512...
Page 562: ...Appendix 562...