fabs Posted May 8, 2009 Share Posted May 8, 2009 what is html validator??i dont understand it Link to comment Share on other sites More sharing options...
thescientist Posted May 8, 2009 Share Posted May 8, 2009 it is a feature offered by W3C schools which allows you to make sure your HTML and CSS validate, or don't break any standards compliant rules. When you declare a doctype at the beginning of your webpages (you are using a DTD, right ) it tells the browser what specification of HTML or XHTML it should be rendering the code to. To make sure you have optimal cross browser compatibility, you can validate your page in the validator to make sure your page is following the rules declared by the doctype. If you don't declare a doctype, the browser will operate on it's own accord and can end up rendering the page in ways you may not expect/want. So by following the rules of the DTD, you have less of a chance of pages breaking in different browsers, although its common for IE (any version, really) to break at least once on something you are trying to design. Generally, I think people around here code to FF or Safari, as they tend to follow W3C standards fairly closely, and then fix what breaks in IE afterwards. Link to comment Share on other sites More sharing options...
jarrett000 Posted May 8, 2009 Share Posted May 8, 2009 Incase you don't want to read a large paragraph it just looks at your HTML and makes sure it follows all of the XHTML rules, if it dosen't it will correct you and even offer you a corrected version of your page. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.