SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 520 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"


In the earliest versions of HTML, paragraphs used just the opening

tag. Browsers rendered
everything after a

tag as one paragraph, until they reached another

tag. As of HTML
3.2, however, an optional closing

tag was added. Because so many Web pages have been created with
just the opening paragraph tag, most browsers still recognize the single-tag format, even though the latest
versions of the HTML standard require the closing tag. Dreamweaver automatically inserts both the opening
and closing tags when you create a paragraph. To be on the safe side in terms of future compatibility, enclose
your paragraphs within both opening and closing tags when you do any hand-coding.
Dreamweaver starts a new paragraph every time you press Enter (Return) when composing text in the
Document window. If you have the Code view or the Code inspector open when you work, you can see
that Dreamweaver inserts the following code with each new paragraph:

 


The code between the tags creates a nonbreaking space that enables the new line to be visible. You won??™t see
the new line if you have just the paragraph tags with nothing in between (neither a character nor a character
entity, such as  ):


TIP TIP
CAUTION CAUTION
TIP TIP
253
Working with Text 8
When you continue typing, Dreamweaver replaces the nonbreaking space with your input, unless you press
Enter (Return) again.


Pages:
508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532