“HTML First” Is Not HTML First
On that website, Tony promotes guidelines “for making it easier, faster, more affordable, and more maintainable to build web software.”
The guidelines include the following:
- Prefer vanilla approaches
- Use HTML attributes for styling and behavior
- Use libraries that leverage HTML attributes
- Avoid build steps
- Prefer naked HTML
- Be “view source” friendly
Now, the Web and our field are perfect for initiatives like this—have an idea, build it, ship it. This is one of the things to absolutely love about the Web and our field. But this isn’t the point here.
The point is also not to comment on the guidelines picked. I don’t want to comment on them; it seems that some are useful, while others demand scrutiny and nuance.
The point is that these guidelines have nothing to do with HTML First. This is not HTML First, at all.
What Is HTML First?
As the book is still in process, I do not offer a (or my) full definition of HTML First yet.
However, the foundation is not difficult to argue about:
- HTML that is actual HTML, i.e., that is valid (common sense, until you start checking)
- HTML that makes full use of HTML features, i.e., that’s not XHTML–HTML
- HTML that is used according to purpose (aka semantic HTML)
- HTML that is accessible
These are the foundational tenets of HTML First.
The “HTML First” guidelines as found on html-first.com do not cover any of them. That is why “HTML First” is not HTML First. And why we probably need a school of HTML First, whether in website or in book or in any other form, that focuses on HTML—that truly puts HTML first.
* While I criticize and disagree with Tony’s interpretation of “HTML First,” I do so most respectfully. Thanks for putting this out there.
I’m Jens, and I’m an engineering lead and author. I’ve worked as a technical lead for companies like Google, I’m close to W3C and WHATWG, and I write and review books for O’Reilly and Frontend Dogma. I love trying things, not only in web development, but also in other areas like philosophy. Here on meiert.com I share some of my views and experiences.
If you have a question or suggestion about what I write, please leave a comment (if available) or a message. Thank you!
Maybe of interest to you, too:
- Next: Incident, Mitigate, Learn
- Previous: Something to Know About Defensiveness
- More under Web Development, or from 2023
- 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 (2023). 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.