[whatwg] Footnotes, endnotes, sidenotes

Le 6 nov. 2006 ? 7:04, Matthew Raymond a ?crit :

> Michel Fortin wrote:
>
>>      <p>This paragraph has a footnote<fnref for="my-footnote"
>>> <sup><a href="#my-footnote">1</a></sup></fnref>.</p>
>>
>>      <fnl>
>>      <fn id="my-footnote">
>>        <p>This footnote can contain block-level elements!</p>
>>      </fn>
>>      </fnl>
>
>    I have a similar view, although I have some refinements:
>
> | <p annotation="my-footnote">
> |   This paragraph has a footnote
> |   <a rel="annotation" href="#my-footnote"><sup>[1]</sup></a>.
> | </p>
> | [...]
> | <footnote>
> |   <p>References:</p>
> |   <al>
> |     <ol>
> |       <li id="my-footnote">
> |         <p>This footnote can contain block-level elements!</p>
> |       </li>
> |     </ol>
> |   </al>
> | </footnote>

I think having an annotation attribute in the paragraph is redundant  
with the <a rel="annotation"> element. What happens if the attribute  
is there and there is no link? What if the link is there with no  
annotation attribute? I think the attribute is completely unnecessary.

Also, you're mixing two different terms (footnote and annotations), I  
don't think that's a so good idea. And you're forcing your  
annotations to be part of a list, which makes difficult to put them  
in the middle of the text to style them as sidenotes.


Michel Fortin
michel.fortin at michelf.com
http://www.michelf.com/

Received on Monday, 6 November 2006 11:28:53 UTC