[whatwg] href attribute

Nicholas Shanks contact at nickshanks.com
Fri Mar 2 09:20:24 PST 2007

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-0001.bin>

More information about the whatwg mailing list