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

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

From: Benjamin Hawkes-Lewis <bhawkeslewis@googlemail.com>
Date: Wed, 03 Jan 2007 10:08:29 +0000
Message-ID: <1167818909.26928.9.camel@galahad>
Matthew Raymond wrote: 

> | <excerpt>
> |   <p>
> |     <q>rhubarb rhubarb rhubarb</q>
> |     [<cite><a href="www.example.com">Nemo, Works, IV</a></cite>]
> |   </p>
> | </excerpt>


That's much better. :)

But I'm not sure why you put p inside excerpt. How about:

<p><excerpt><q>rhubarb rhubarb rhubarb</q> <cite><a
href="http://www.example.com">Nemo, Works, IV</a></cite></excerpt></p>

and

<p><excerpt><blockquote><p>rhubarb rhubarb rhubarb</p><p>bla bla
bla</p></blockquote><cite><a href="http://www.example.com">Nemo, Works,
IV</a></cite></excerpt></p>

These examples omit the square brackets around cite, since one could add
those with CSS and they'd make problems if one wished to style the cite
as a footnote.

--
Benjamin Hawkes-Lewis
Received on Wednesday, 3 January 2007 02:08:29 UTC

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