The Two Great Things About Validation (and Conformance)
Published on January 30, 2009 (⻠October 20, 2024), filed under Development (RSS feed for all categories).
This and many other posts are also available as a pretty, well-behaved ebook: On Web Development.
There are two great things about validation: Validating helps technical understanding as it contributes to awareness of the underlying specifications, and writing valid code is a sign of professionalism.
Put another way, developers who donât validate miss important opportunities to learn, and invalid code can in most cases be considered unprofessional.
However, invalid code doesnât necessarily mean inaccessible or unmaintainable code. Thatâs a myth. You can invert that statement, too, though: Valid code doesnât mean accessible or maintainable code, nor efficient or fast code.
From my comment on Valid sites work better (?). Revised.
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.)
Comments (Closed)
-
On January 30, 2009, 14:44 CET, olivier said:
Hi Jens,
it looks like our CMS ate your comment or something to that effect, I canât see your comment in the (empty) pending queue. Can you resend?
-
On January 30, 2009, 14:54 CET, Jens Oliver Meiert said:
Olivier, sure, I just submitted the comment again (twice, actually, the latter fixing a broken link).
-
On January 30, 2009, 17:34 CET, olivier said:
Published! Thanks Jens for your patience.
I find it a bit scary that comments migh be lost like that, thoughâŠ
-
On January 31, 2009, 6:24 CET, Jared Smith said:
Excellent post - and right to the point.
Replace âvalidationâ with âalt text in HTML 5″ and you pretty much sum up my thoughts on that point also. Alt doesnât make it accessible and missing alt doesnât make it inaccessible, but having a guideline for implementing it educates, supports accessibility, and is professional.
-
On February 2, 2009, 19:53 CET, Jens Oliver Meiert said:
Thanks, Olivier, Jared!
Regarding
@alt
, Jared, yes, that debate may be philosophical đ -
On February 10, 2009, 12:43 CET, Richard Morton said:
Although I would agree that invalid code doesnât have to mean inaccessible or unmaintainable code, I would say that valid code is definitely easier to maintain.
The big link between accessibility and validation is that valid code should behave more predictably across different browsers than invalid code. Of course that is a utopian view as browsers donât just treat invalid code differently. -
On July 7, 2013, 2:18 CEST, Alistair Lattimore said:
I agree valid code is a sign of professionalism but it canât be a black and white scenario, as a lot of publishing platforms still get in the road of idealistic outcomes like W3C validation.
I say idealistic because browsers are largely indifferent to valid HTML versus invalid HTML, rightly or wrongly - that is just how things are.
Given that browsers are so tolerant of valid or invalid HTML/CSS, what would you prefer in general:
1) lean but invalid HTML/CSS or;
2) bloated but valid HTML/CSS
Read More
Maybe of interest to you, too:
- Next: Arial, Helvetica
- Previous: Browser Support: The Two Metrics That Count
- More under Development
- More from 2009
- 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.