Does this title say “HTML developer”? It does! Sadly, it’s not a thing.
But: any developer writing HTML needs two tools—and I would argue, no more, and no less.
Which ones?
A Validator
Although the data appear grim, there is a renewed push on valid HTML.
What is valid HTML?
Essentially error-free HTML.
This is important:
The HTML code works.
Accordingly, we don’t include code, for bandwidth that may be precious, that isn’t working.
What tools are there?
Only one tool probably: The W3C HTML validator for which there’s also an npm version.
A Minifier
We could write optimized HTML by hand.
But even if you already know all tags you can omit, markup is hardly readable anymore once you removed all the tabs or spaces.
For the purposes of minification and optimization there are HTML minifiers.
If the data can be trusted, HTML Minifier still produces the best results, and may be most configurable.
Other good options include htmlnano as well as @swc/html.
This area seems to be in a good spot.
Validating and optimizing for production: these come with unique tooling needs for the two most important tools for web developers.
Do you disagree? And is "HTML developer" a thing? 👩💻
Top comments (0)