Nicola Ken Barozzi wrote:

10. XHTML Hypertext Module
    http://www.w3.org/TR/xhtml2/mod-hypertext.html
    * 10.1. The a element

We don't need this, it's use is deprecated in XHTML2 by allowing an href attribute on any element:

"Linking: In HTML 3, only a elements could be the source and target of hyperlinks. In HTML 4 and XHTML 1, any element could be the target of a hyperlink, but still only a elements could be the source. In XHTML 2 any element can now also be the source of a hyperlink, since href and its associated attributes may now appear on any element. So for instance, instead of <li><a href="home.html">Home</a></li>, you can now write <li href="home.html">Home</li>. Even though this means that the a element is now strictly-speaking unnecessary, it has been retained."

- http://www.w3.org/TR/2005/WD-xhtml2-20050527/introduction.html#s_intro_differences

I understand that we will, most likely, want to support this within our input formats, but I propose we don't support it internally, it only serves to add more complexity to our stylsheets since we will have to support the @href attribute anyway (it is part of 13. XHTML Hypertext Attributes Module - http://www.w3.org/TR/xhtml2/mod-hyperAttributes.html)

Ross

Reply via email to