1.14 How to Check Your HTML Code

As described in the previous section, HTML5 contains quite a few differences from earlier HTML standards. So when you’re writing your HTML5 code, particularly if you’re converting a web page that used an older version of HTML, how do you know if you’re following the syntax rules for HTML5? Using this book is a good start, but it doesn’t have everything. The formal standards provided by the W3C and WHATWG are comprehensive, but their technical nature and their need to specify details for browser manufacturers make them hard to understand. Here’s what we recommend you use for HTML5 reference sites:

https://developers.whatwg.org: WHATWG’s HTML standard for web developers (with browser manufacturer details removed). ...

Get Web Programming with HTML5, CSS, and JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.