Tuesday, 24 February 2015

INPUT

  <div style = “text –align: center”

 < a n name = “top”> <h1 style = “font – variant: small – caps”<> the bookworm: a better book                    store <./h1> </a>

<Block quote>

“Old books are best ------- how tale and rhyme <br/>

Float with us down the stream of time /”br/>

Clarence Urmy, <cite> old songs age Best </cite>

</block quote>

<p> the bookworm bookshop <br/>

1345 apple wood Dr <br/>

Springfield, CA 94325 <br/>

(415) 555 – 0034 </p>

</div>

I’ve also used the style attribute to change the text in the <h1> tag to small caps. To change the font size of the address, add a style attribute to the paragraph containing the address:

INPUT

<p style = “font – size : 150% “> the bookworm bookshop <br/>

1345 apple wood dr<br/>

Springfield, CA 94325, br/>

(415) 555 – 0034

</p>

Figure 6.20 shows the final result, with attributes,. Note that neither of these changes affects the readability of the page in browsers that don’t support <div> or <font>: the page still works just fine without them. It just looks different.

No comments:

Post a Comment