Outline option in W3C HTML validator

 The W3C HTML validator has an 'outline' option.


This option showed a bug where the 'h1' tag was inside an 'h2' tag. I was using the 'h2' tag to give a name to an HTML5 'section'.


This bug was not shown by the HTML5 outliner I use. This is the old one written by Marc Hoyois. 


There are more tips at: bbingo.xyz/techtips/

Comments

Popular posts from this blog

Running minifiers twice

Smooth scrolling

Using 'JSMin' to remove commented-out code from JavaScript