Jmarton1 Posted October 24, 2013 Report Share Posted October 24, 2013 There are online sites available where you can put your URL, and the site will return you the number of HTML validation errors in your site. My question is that what actually are these errors and how to fix them? Quote Link to comment Share on other sites More sharing options...
Andrea Posted October 24, 2013 Report Share Posted October 24, 2013 As the name says, they are validation errors. Meaning code is not up to standard, so not valid. As to how to fix them depends on what the error is. If you use Firefox and have installed the Web developer Add-on (it's a fantastic tool all around) under its Tool tab, it provides several validation options. Just go to whatever website, pick and click!! Quote Link to comment Share on other sites More sharing options...
Jmarton1 Posted October 26, 2013 Author Report Share Posted October 26, 2013 (edited) Thanks for the reply, I normally use Chrome browser because of inspect element facility, but have also installed Firefox. Please if you don't mind telling me another thing. If I am right, <!DOCTYPE html> is used to declare the version of HTML, then why a normal(means basic) HTML code runs without showing any error, even if we don't ad <!DOCTYPE> tag in the html file? Edited October 26, 2013 by Jmarton1 Quote Link to comment Share on other sites More sharing options...
gaparticleuser Posted February 20, 2014 Report Share Posted February 20, 2014 This validator checks the markup validity of Web documents in HTML, XHTML, SMIL, MathML, etc Quote Link to comment Share on other sites More sharing options...
webdesignphilippines Posted February 22, 2014 Report Share Posted February 22, 2014 There are online sites available where you can put your URL, and the site will return you the number of HTML validation errors in your site. My question is that what actually are these errors and how to fix them? W3C Markup Validator tells you exactly what the problems are and how to fix it. Check it out: http://validator.w3.org/ Quote Link to comment Share on other sites More sharing options...
martinsmith Posted April 30, 2021 Report Share Posted April 30, 2021 Common validation errors. No Doctype at all Forgetting to close an element Missing / on self-closing elements Forgetting to convert special characters Unencoded characters in URLs Block elements inside inline elements. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.