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

Benjamin Hawkes-Lewis bhawkeslewis at googlemail.com
Wed Jan 3 02:08:29 PST 2007


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




More information about the whatwg mailing list