W3C home > Mailing lists > Public > www-validator@w3.org > February 2008

Re: Reporting use of <u></u> as invalid for XHTL Strict

From: Karl Dubost <karl@w3.org>
Date: Mon, 18 Feb 2008 12:07:53 +0100
Cc: <www-validator@w3.org>
Message-Id: <61B220EE-5B3E-484C-B2A4-567380AA5041@w3.org>
To: Roger Rogerson <tesconda2@hotmail.com>


Le 17 févr. 2008 à 13:49, Roger Rogerson a écrit :
> I was pretty certain that was correct, and did quickly check things  
> out....
> <u></u> is apparently permissible and considered as valid XHTML  
> Strict markup.


# xhtml 1.0 strict
   <!ENTITY % fontstyle "tt | i | b | big | small ">


# xhtml 1.0 transitional
   <!ENTITY % fontstyle.extra "big | small | font | basefont">
   <!ENTITY % fontstyle.basic "tt | i | b | u | s | strike ">
   <!ENTITY % fontstyle "%fontstyle.basic; | %fontstyle.extra;">


# to achieve it in CSS
   http://www.w3.org/TR/CSS21/text.html#lining-striking-props

   text-decoration: underline ;

# Recommendation for usability (depending on your usage context)
   http://www.useit.com/alertbox/20040510.html




--
Karl Dubost - W3C
http://www.w3.org/QA/
Be Strict To Be Cool
Received on Monday, 18 February 2008 11:08:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:28 GMT