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

Re: Underline element.

From: Niko Neugebauer <niko@nikoport.com>
Date: Fri, 28 Dec 2007 11:18:23 +0000
Message-Id: <7EC340BC-DE69-40F6-A7D7-094A4FA80891@nikoport.com>
Cc: public-html@w3.org
To: Andrew Fedoniouk <news@terrainformatica.com>

On Dec 28, 2007, at 2:42 AM, Andrew Fedoniouk wrote:

>
> There is one case that we use in UI for <u> - to mark shortcut  
> combinations:
>
> <button><u>O</u>pen</button>
>
> We do have special behavior defined for the <u> element that
> synthesizes button click event when user presses Ctrl-O
> (for the button above).
>
> So this brings some semantic meaning to the element
> but this is not what it was intended for of course.
>

One can always use CSS for such purposes:
http://www.w3.org/TR/css3-selectors/#nth-child-pseudo


Best regards,
Niko Neugebauer
------------------------
http://www.nikoport.com
Received on Friday, 28 December 2007 11:18:31 UTC

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