W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2007

[whatwg] href attribute

From: Nicholas Shanks <contact@nickshanks.com>
Date: Fri, 2 Mar 2007 17:20:24 +0000
Message-ID: <1A5814FC-DE8D-4923-BA43-A96C8491E764@nickshanks.com>
On 2 Mar 2007, at 17:00, Alexey Feldgendler wrote:

> Likewise, HTML has <a> to explicitly express the semantics of a  
> hyperlink. I don't see how the language would benefit from the  
> ability of turning any element into a link.

The main use I would put it to is on <li> elements, especially tables  
of contents?the usage would be hyperlinks, not buttons. it also helps  
remove redundancy when you have any two tags opening and closing at  
the same place, such as <a><abbr>foo</abbr></a> (or <abbr><a>foo</a></ 
abbr> ? which is better anyway?)

- Nicholas.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2157 bytes
Desc: not available
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20070302/528153a3/attachment.bin>
Received on Friday, 2 March 2007 09:20:24 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:53 UTC