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

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 UTC