<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>TEST</title>
</head>
<body>
<div>
<italic>T<sub>c</sub> <italic>m</italic></italic>K and</div>
</body>
</html>
The above (note had to change i tags in order to post message) validates fine in W3C validator.
However, Tidy, returns this:
tidy -asxhtml -wrap 0 -numeric
line 8 column 2 - Warning:
is probably intended as line 8 column 39 - Warning: discarding unexpected
line 8 column 44 - Warning: discarding unexpected
Why the difference?
P.S. Are nested italic tags valid xhtml strict?