W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2007

[whatwg] <blockquote cite> and <q cite>

From: Martin Atkins <mart@degeneration.co.uk>
Date: Thu, 04 Jan 2007 19:56:52 +0000
Message-ID: <459D5C04.60503@degeneration.co.uk>
Henri Sivonen wrote:
> 
> ?Quotation? (<a href='...'>Source</a>)
> 

Or, if you're really keen on having some markup in there:

<q>Quotation</q>
(<cite><a href="http://www.example.com/">Example Source</a></cite>)

and now a hypothetical interested tool can build a list of references at 
the end of the document. For example, one could produce a rendering 
suitable for printing:

----------------------

?Quotation? (Source)

...

REFERENCES

* Example Source (http://www.example.com/)

----------------------

All of the markup necessary to produce the above is present in my short 
example, which uses markup that already works in HTML4 and XHTML today. 
The relationship between the quotation and the citation is obvious to a 
human due to it following the conventions used in print, and a screen 
reader is able to use the <q> element to inform its user that it's a 
quotation.

However, I'd have to assume that screen readers would also render 
punctuation quotes and parentheses verbally somehow, else most of 
today's published documents would be completely unintelligible. I 
certainly wouldn't lose any sleep over publishing a fragment like 
Henri's example if I'm only intending human consumption.
Received on Thursday, 4 January 2007 11:56:52 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:31 UTC