W3C home > Mailing lists > Public > public-html@w3.org > March 2011

(unknown charset) Re: validity of <a name>

From: (unknown charset) Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>
Date: Fri, 18 Mar 2011 19:05:41 +0100
To: (unknown charset) Henri Sivonen <hsivonen@iki.fi>
Cc: (unknown charset) Daniel Glazman <daniel.glazman@disruptive-innovations.com>, "public-html@w3.org" <public-html@w3.org>
Message-ID: <20110318190541009527.7a97a791@xn--mlform-iua.no>
Henri Sivonen, Fri, 18 Mar 2011 18:52:33 +0200:
> On Fri, 2011-03-18 at 16:47 +0100, Daniel Glazman wrote:

>> 4. <a name> is now invalid in html5, making it impossible to copy
>>     the trivial <p>foo<a name="a"></a>bar</p> from html4 to html5
>>     without raising a validity issue ; turning that <a name> into
>>     a <span id> is not doable without prompting the user, something
>>     that should not happen on a copy/paste action ; furthermore, that
>>     could break stylesheets.
> 
> What do you do when <font> is copied from HTML 4 into HTML5 in
> BlueGriffon?

Daniel: why don't you convert <a name=*> to <a id=*> ? It should work 
the same.
-- 
leif halvard silli
Received on Friday, 18 March 2011 18:06:15 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:23 UTC