22 ms·
I would be careful with that approach. I've followed it for a couple of years, but noticed that browser vendors and other tools have not embraced this change.
by afloatboat 10y ago
I would be careful with that approach. I've followed it for a couple of years, but noticed that browser vendors and other tools have not embraced this change.
While it's technically still correct, it might backfire in reality. So maybe this <h>-element would be a welcome addition to the spec.
https://www.w3.org/wiki/HTML/Usage/Headings/h1only#Heading_semantics_exposed_by_browsers https://www.w3.org/wiki/HTML/Usage/Headings/h1only#Heading_s...
http://html5doctor.com/computer-says-no-to-html5-document-outline/ http://html5doctor.com/computer-says-no-to-html5-document-ou...
- corny 10y agoIt looks like that method is now deprecated in HTML 5.1. https://bitsofco.de/document-outlines-in-html-5-1/ https://bitsofco.de/document-outlines-in-html-5-1/
- deleted 10y ago[deleted]
- nkkollaw 10y agoThat might be a problem, but looking for better tools or waiting for them to adopt the standard seems an easier solution than inventing another standard.
- sametmax 10y agoLet's not ad something to the spec because vendors don't implement the spec correctly. That makes no sense. What makes you think they will implement the new one correctly ? Plus they are wrong in the first place.