Summary

 < Day Day Up > 



Let's briefly review why we think using Method C is the better choice over the other two for marking up a long quotation.

Method A:

  • Can't be easily styled separately to distinguish itself from the rest of the page.

  • Doesn't provide any meaning or structure to the quotation.

Method B:

  • Adding the unique class makes for easy styling, but is unnecessary when <blockquote> is available.

  • We're locked into marking up future quotations using this method if we'd like consistent styles throughout the page and/or entire site.

Method C:

  • It's the element that was designed by the W3C for this purpose, providing meaning and structure to the content.

  • Easy-to-style quotations uniquely using CSS rules on the <blockquote> element.

  • In the absence of CSS, the default rendering of <blockquote> will be a sufficient cue for visual and nonvisual browsers.

It's now time to kick the tires on our <blockquote>, and find some creative ways to add style.



 < Day Day Up > 



Web Standards Solutions. The Markup and Style Handbook
Web Standards Solutions: The Markup and Style Handbook (Pioneering Series)
ISBN: 1590593812
EAN: 2147483647
Year: 2003
Pages: 119
Authors: Dan Cederholm

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net