Where Has All the Valid HTML Gone
Published on November 21, 2024, filed under Development (RSS feed for all categories).
The results of the latest âState of HTMLâ survey are in.
Contributing to this part of the survey, Iâve been particularly curious about HTML validationâyou know, that thing that differentiates a frontend developer from a houseplant đ
At first, this looks great, and so much better than finding only 1 in 200 homepages to be valid.
Yet then, there are questions.
First, though not importantly, Zod doesnât seem to be an HTML validator, though Iâve reached out to Sacha Greif about this one to check seems to handle input validation. (Please correct me, too, if you know if and how Zod does HTML conformance checking.)
Then, and I know because Iâm currently evaluating all sorts of HTML conformance checkers that are not web-based (more soon!), there are still some issues in HTML-validate that make it of limited use at least for HTMLâHTML. * (Kudos here, however, to David Sveningsson, who maintains HTML-validate, who has been very responsive and receptive to addressing issues that Iâve reported so far, which suggests they may eventually get resolved.)
Yet, the biggest two questions are questions we cannot answer from this survey feedback:
One, (how) are the validator tools being used? Thatâs not to question the honesty of the feedback, but genuine curiosity about how consistent developers are in validating, and how consistent they are, too, in terms of addressing the respective issues.
Two, following from this, where do the results show? The samples of my own annual HTML conformance analyses and the HTML surveys are a drop in the bucket of websites and their developers. That is, we can and will observe different conformance worlds out there. Here, per âState of HTML,â it looks like half of all websites could be valid. There, looking at the most popular websites, itâs hard to find even one.
Where, then, has all the valid HTML gone?
This shouldnât be so hard to answer; indeed, it should be easy for us, in the fieldâfor valid HTML output is the quality characteristic easiest to measure, and easiest to shine with. (Which is therefore good for our field, and good for our careers.)
* I often use this expression to differentiate HTML that uses all HTML features from HTML thatâs influenced by XHTML.
About Me
Iâm Jens (long: Jens Oliver Meiert), and Iâm a frontend engineering leader and tech author/publisher. Iâve worked as a technical lead for companies like Google and as an engineering manager for companies like Miro, Iâm a contributor to several web standards, and I write and review books for OâReilly and Frontend Dogma.
I love trying things, not only in web development (and engineering management), but also in other areas like philosophy. Here on meiert.com I share some of my experiences and views. (Please be critical, interpret charitably, and give feedback.)
Read More
Maybe of interest to you, too:
- Next: The Image Compression Challenge Results
- Previous: What I Learned About That Difficult Childhood
- More under Development
- More from 2024
- Most popular posts
Looking for a way to comment? Comments have been disabled, unfortunately.
Get a good look at web development? Try WebGlossary.infoâand The Web Development Glossary 3K. With explanations and definitions for thousands of terms of web development, web design, and related fields, building on Wikipedia as well as MDN Web Docs. Available at Apple Books, Kobo, Google Play Books, and Leanpub.