W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2006

[whatwg] href on any element

From: Francisco Monteiro <monterro2004@tiscali.co.uk>
Date: Tue, 29 Aug 2006 17:02:22 +0100
Message-ID: <002401c6cb84$83a07350$0500a8c0@computername>
 
What practical use has this for Mr Joe Public?

Give me a really useful example in very simple wording!

Francisco
-----Original Message-----
From: whatwg-bounces@lists.whatwg.org
[mailto:whatwg-bounces at lists.whatwg.org] On Behalf Of dolphinling
Sent: 29 August 2006 16:46
To: WHAT WG List
Subject: Re: [whatwg] href on any element

Lachlan Hunt wrote:
> Andrew Fedoniouk wrote:
>> If yes then let it be just :
>>
>> <section href="...">
>>  <h2>...
>>  <p>...
>> </section>
> 
> But that isn't backwards compatible.

data:text/html,<table><tr><a hef="www.google.com"><td>link to
google</td></a><td>plain text</td></tr></table>

Neither is <a> around table cells or list items.

Personally, I like the semantics of href on any element. "This element is a
link" seems cleaner than "Here is a link element that surrounds some other
element or text content". Assuming no one does find a backwards-compatible
way to link any element, I'd prefer going forwards with href applying to
everything.

(Note that I haven't thought about it much, though, and I do have a vague
hazy memory of not liking something about the way XHTML 2 is doing it. I
would definitely want more thought put into it than I have.)

--
dolphinling
<http://dolphinling.net/>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3210 bytes
Desc: not available
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20060829/af0023a7/attachment.bin>
Received on Tuesday, 29 August 2006 09:02:22 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:28 UTC