David Dixon wrote:
Hi Al,

Someone might be able to correct me, if my info is not totally accurate, but if memory serves the following applies:

The <b> tag is deprecated in XHTML 1.0, and not allowed in strict

No it is not deprecated.  It is declared in the XHTML 1.0 Strict DTD.
http://www.w3.org/TR/xhtml1/dtds.html#dtdentry_xhtml1-strict.dtd_b

The <strong> tag is perfectly valid in XHTML, but in strict, it cannot be a direct child of the body tag, nesting it in a div/span/p etc though should be fine.

That is not the problem, the problem is the way in which it is used within the script element.

This explanation applies to HTML:
http://www.htmlhelp.com/tools/validator/problems.html#script

For XHTML, you need to use a CDATA section as I explained in my previous post. For backwards compatibility (i.e. serving XHTML as text/html) you should use a combination of both techniques)

--
Lachlan Hunt
http://lachy.id.au/


******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************

Reply via email to