TIDY vs W3C validator
PJM <[email protected]>
| Newsgroups | gmane.comp.web.html-tidy.user |
|---|---|
| Message-ID | <[email protected]> |
<!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? -- View this message in context: http://www.nabble.com/TIDY-vs-W3C-validator-tp21219264p21219264.html Sent from the w3.org - html-tidy mailing list archive at Nabble.com.