[whatwg] href attribute
Daniel Glazman
daniel.glazman at disruptive-innovations.com
Sat Mar 10 19:36:13 PST 2007
On 10/03/2007 02:28, Billy Wong wrote:
> On 3/6/07, Matthew Raymond <mattraymond at earthlink.net> wrote:
>> To me, the only advantage of a global |href| is that you can use it
>> on block-level elements, and I don't see why a block-level version of
>> <a> couldn't fill the same use case.
>
> Indeed. IMO, global |href| gives nothing but more confusion. If we
> want to have hyperlinks on block-level elements, it is simpler just
> let <a> and/or other inline elements be legal to wrap block-level
> elements.
No, it gives more than that : if |href| becomes global, the usage of
|a| will decrease and that's a good thing. |a| is a bad element because
it serves as source AND target of links, because it's not multivalued,
and I have 5 or six other very good reasons in mind. Anything we can do
to prepare a future - in the long term - deprecation of |a| is a good
thing for the future of HTML.
</Daniel>
More information about the whatwg
mailing list