[whatwg] Citing multiple <blockquote> elements in HTML5

Tab Atkins Jr. ha scritto:
> [[off list]]
>
>   
>> Well, in fact, the above could be done as well by 'playing' with anchors
>> (but is it still possible to set an anchor somewhere in the document, such
>> as <a id="foo" />? I haven't found examples for that, perhaps I'm missing
>> something...).
>>     
>
> Yes, a hash link (<a href="#foo">) will scroll to the element with an
> id=foo.  If coding properly, you'll virtually *never* use an <a> for
> an actual *anchor*, but rather will target the most semantically
> appropriate element, such as a heading or a container with the
> appropriate @id.
>
> ~TJ
>   
Thanks! That's what I was missing in the specicification (I should give 
it a more accurate reading). Does it applies to every element, covering 
the <cite> element too? If so, there is no need for new attribute to 
relate a quoted content to its cited source (especially to relate 
several quotations to a single, or a main, complete reference), 
something like:

<p>An interesting element is the <code>&lt;cite&gt;</code> element. It's 
definition is: <q cite="#cite">The |<code>cite</code>| element 
represents the title of a work (e.g. a book, a paper, an essay, a poem, 
a score, a song, a script, a film, a TV show, a game, a sculpture, a 
painting, a theatre production, a play, an opera, a musical, an 
exhibition, etc). This can be a work that is being quoted or referenced 
in detail (i.e. a citation), or it can just be a work that is mentioned 
in passing.</q></p>

<p>The <code>cite</code> element semantics finds a good placing inside a 
bibliographic citation, but only refers to the title of the work, not to 
the entire citation. In fact, it is sayd: <q cite="#cite">The 
|<code>cite</code>| element is obviously a key part of any citation in a 
bibliography, but it is only used to mark the title</q> [...]</p>
[...]
<p>A complete reference for the <code>cite</code> element is found in 
WHATWG <a 
href="http://www.whatwg.org/specs/web-apps/current-work/multipage/"><cite>HTML 
5</cite></a> draft reccomendation, section <a 
href="http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-cite-element"><cite 
id="cite">4.6.3 The <code>cite</code> element</cite></a>

should work fine, while in a scientific paper something like

...<a href="#whref">[whnt02]</a>...

might be an instance of:

<p><b>[whnt02]</b>: <cite id="whref">A new theory on White Holes: 
universe regeneration proved.</cite>, John Doe and Jack Someone, 2013, 
Science Paper Hall, IBAN:'example_iban_code'</p>

in a similar way as

... <a href="#jd">John Doe</a>...

is an instance of:

<p>The name <dfn id="jd">John Doe</dfn> is the one commonly used to 
indicate a person whose identity is unknown; may be found in some 
examples to indicate a generic person involved in some context, to 
indicate whoever else could be involved too, or to focus the attention 
on the context itself or its related subject, despite any real person 
involved or the likelyhood for the facts to happen.</p>

In conclusion, what I was suggesting is yet possible, if I'm not 
misanderstandig (again?), without any need for additional attributes. 
The reverse realtionship (from a <cite> to one or more 
<q>/<blockquote>), instead, might be more difficoult, but I agree with 
Ian Hickson that some 'real world' need should arise before addressing such.

BR, Alex
 
 
 --
 Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP autenticato? GRATIS solo con Email.it http://www.email.it/f
 
 Sponsor:
 Meetic: il leader italiano ed europeo per trovare l'anima gemella online. Provalo ora
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=8291&d=1-12

Received on Monday, 1 December 2008 08:27:01 UTC