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

Martin Atkins mart at degeneration.co.uk
Thu Jan 4 11:56:52 PST 2007


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.




More information about the whatwg mailing list