| 1. |
Solve : W3C Validation Errors? |
|
Answer» When I save my web-page index file as .htm, I get a clean W3C validation, but when I save the file as .html, which is what my web-host editor does by default, the index file immediately shows about 80 validation errors. As soon as I resave the index file as .htm, I get a clean slate. I'm using this as my document type: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> you'll need to validate as XHTML, not HTML. That's probably why you're getting the errors. Make SURE you decide how you want the site to validate...XHTML, or HTML.I guess deciding is most of the work in any job, isn't it? Thanks for your help. Take care, Doubtless You're more than welcome...Just as an EXTRA reference, see here: LinkThanks. I just checked that one out. Here's another that I found while browsing: http://www.w3schools.com/tags/default.asp Thanks again, Doubtless |
|