Sams Teach Yourself HTML, CSS & JavaScript Web Publishing in One Hour a Day

(singke) #1
ptg16476052

134 LESSON 7: Formatting Text with HTML and CSS


Input ▼
<p>Tomorrow, and tomorrow, and tomorrow,<br>
Creeps in this petty pace from day to day,<br>
To the last syllable of recorded time;<br>
And all our yesterdays have lighted fools<br>
The way to dusty death. Out, out, brief candle!<br>
Life's but a walking shadow; a poor player,<br>
That struts and frets his hour upon the stage,<br>
And then is heard no more: it is a tale <br>
Told by an idiot, full of sound and fury, <br>
Signifying nothing.</p >

clear is an obsolete attribute of the <br> tag. It’s used with
images that have text wrapped alongside them. You’ll learn about
this attribute in Lesson 9, “Using Images on Your Web Pages.”
Like similar attributes of other tags, the clear attribute has been
replaced with CSS.

NOTE

Figure 7.7 sho ws how it appears in a browser.

Output ▼


Addresses


The address tag <address> is used to supply contact information on web pages. Address
tags usually go at the bottom of the web page and are used to indicate who wrote the
web page, whom to contact for more information, the date, any copyright notices or other
warnings, and anything else that seems appropriate.

FIGURE 7.7
Line breaks.
Free download pdf