Wednesday, 18 February 2015

FIGURE 6.11 OUTPUT FIGURE 6.11 AN ADDRESS BLOCK

 OUTPUT FIGURE 6.11 AN ADDRESS BLOCK











QUOTATIONS

The <block quote> tag is used to create an indented block of text with in a page. (unlike the <cite>tag, which highlights small quotes,<block quote> is used for longer quotations that shouldn’t be nested inside other paragraphs.) for example, the Macbeth  soliloquy I used in the example for line breaks would have worked better as a <block quote> than as a simple paragraph. Here’s an input example:

<block quote>

“during the whole of a dull, dark, and soundless day in the autumn of the year, when the clouds hung oppressively low in the heavens, I had been passing alone, on horseback, through a singularly dreary tract of country, and at l length found myself, as the shades of even ding grew on, within view of the melancholy house of usher.”----Edgar Allen Poe </block quote>
As with paragraphs, you can split lines in a <block quote> using the line break tag,<br>. The 

following input example shows an example of this use:

INPUT


<block quote>

Guns aren’t 1awful, <br/>

Nooses give.<hr/>

Gas smells awful.<br/>

-----Dorothy parker

</block quote>

OUTPUT

FIGURE 6.12 A BLOCK QUOTATION
   









Figure 6.12shows how the preceding input example appears in a browser.

NOTE

 The <block quote> tag is often used not to set off quotations within text, but rather to create margins on both sides of a page in order to make it more readable. This technique works, but strictly speaking, it’s a misuse of the tag. These days, you should control margins with cascading style sheets, as explained in lesson 9, “creating layouts with CSS”.

No comments:

Post a Comment