W3C has an incredibly useful group of Validators, but there isn’t a universal button for checking HTML5 yet. I took it upon myself to try to fix this, because the path below is unwieldy, especially if you’re using a trackpad instead of a mouse.
I photoshopped the HTML4 button to show HTML5. While you have to set it to a specific page to validate (instead of a universal piece of code you can slap on the bottom of any web page), I think it will be very useful. At least, until W3C creates a Validator for HTML5, then I’ll use their universal code.
Note! I left the href intentionally blank in the first half of code. The URL that you will insert there will be at the bottom of your successful HTML5 validation page under “Linking to this result”.
Also, the source for the first image will be within the folder you place it, so make sure it has the right path and name!
<a href=” “>
alt=”Valid HTML 5.0!” /></a>
alt=”Valid CSS!” /></a>