W3C home > Mailing lists > Public > public-html@w3.org > December 2007

Re: Underline element.

From: Anne van Kesteren <annevk@opera.com>
Date: Thu, 27 Dec 2007 14:09:09 +0100
To: "Ivan Enderlin" <w3c@hoa-project.net>, public-html@w3.org
Message-ID: <op.t3zv5jq064w2qv@annevk-t60.oslo.opera.com>

On Thu, 27 Dec 2007 13:39:21 +0100, Ivan Enderlin <w3c@hoa-project.net>  
wrote:
> I was reading the HTML 5 draft and something is strange about <u> tag.
> In HTML 4, <u> tag is depreciated [1], and <u> tag doesn't exist in HTML
> 5 [2]. I don't find anymore informations about it in XHTML 1.0 or 1.1.
> So I deduce that we can't underlined an element in HTML right now ?

This is still possible using CSS: text-decoration:underline. I believe the  
main reason <u> is not in HTML5 is that usability studies have shown that  
users very strongly connotate underlined text with a link. Using <u>  
obviously has adverse affects on this expectation.


> Notes :
>     [1] http://www.w3.org/TR/html4/present/graphics.html#edef-U ;
>     [2] http://www.whatwg.org/specs/web-apps/current-work/#phrase.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Thursday, 27 December 2007 13:07:07 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:38:51 UTC