Validate HTML Bookmarklet


Make a bookmark with the above code, or just drag the following button link to your bookmarklets bar.

validate html


  1. John
    Permalink to comment#

    This is certainly a work flow smoother. I use it more and more given how accurate the criticism and non-judgemental too. On testing it with this page W3C returned 5 errors. Question- how often or much do you use the validator on your own sites and why?

  2. Bob Jonson
    Permalink to comment#

    The W3C validator says that this page has 16 errors and 3 warnings. You should look into that Chris

Leave a Comment

Posting Code

We highly encourage you to post problematic HTML/CSS/JavaScript over on CodePen and include the link in your post. It's much easier to see, understand, and help with when you do that.

Markdown is supported, so you can write inline code like `<div>this</div>` or multiline blocks of code in triple backtick fences like this:

  function example() {
    element.innerHTML = "<div>code</div>";

We have a pretty good* newsletter.