Validation and Errors [en]

Although neither do validate, we should not judge a valid page with errors as harshly as a page of tag soup.

For some time now, I have been meaning to clarify the distinction I make between markup which is valid with errors and that which is outright invalid. Yes, I know, in both cases it does not validate.

Take a page which would normally validate as xhtml strict, and insert some are errors into it, like an unclosed tag, an unescaped ampersand and maybe even (oh horror!) a couple of target="_blank" attributes. It does not validate.

Take tag soup. It does not validate either.

But there is a difference between the two, you’ll have to admit. Which is why I suggest calling one of them valid with errors and the other one outright invalid (or just plain invalid). This would also encourage us standards evangelists to be a bit more appreciative of the efforts of those who have gone through the trouble of cleaning up their markup and bringing it nearer to validation, compared to those who just don’t give a damn. As seen on various mailing lists and forums, they are often both greeted quite bluntly with the same “your page doesn’t validate!”

For me, the difference is the same as the one between a well structured text with correct grammar but a few spelling mistakes (it can happen to anybody, even to English teachers!) and a clumsy story with no plot or ending, filled with spelling mistakes, and approximate grammar which makes certain sentences unintelligible.

That might also help us respond to “anti-standards” people who go around sticking our pages in the validator and then say “Hah! it doesn’t validate, look, 50 errors, they’re as bad as we are!”

I’ll say it again: validation (with zero errors) is important. Your PHP or XML parser doesn’t care if there is one or 100 mistakes in your page: it can’t parse it. But we are human beings, and should give credit where credit is due. A “valid page with errors” is not as big a crime as tag soup.

Redesign [en]

Serait-ce contagieux ? Trying to Find Myself change de look, avec en prime balisage allégé et conformité W3C.

Et en plus, c’est joli. Si il continue comme ça, ce garçon va finir par ramasser un blog d’or.

Nettoyage de printemps [en]

Kitof fait le ménage dans son code. C’est un excellent début ! (Voire même plus qu’un début…)

Notons en passant que l’article « CSS pratique » existe en français.

Pompage.net : édition spéciale ! [en]

Oui, il est déjà  le 11 mars. Oui, on a du retard. Mais bon, vous me direz si ça valait la peine d’attendre : non content de vous donner à  lire ce mois-ci deux articles au lieu d’un, pompage.net s’offre une nouvelle garde-robe griffée Latchman.

Vous avez bien entendu : tout d’abord, apprenez à  lire un spec du W3C (sans douleur), puis plongez-vous dans un plaidoyer pour les standards à  l’adresse d’Iconologic, l’employeur de l’auteur. Et bien entendu, admirez la mise en page, toute de xhtml et de css cousue.

Sell Standards With Numbers [en]

Picked up in the comments at What do I know (a page in the chapter “How to Sell Standards to the Managers”):

I was tired of the other developers calling to ask me if the page looked okay on the Mac. The other developers kept tossing in more tables and spacers to .fix. it for the Mac..So I was driven to tell a manager last week that his home page currently has 800 lines of code, 160 transparent spacers, 21 nested tables, over 36,000 characters and a page size of 65K. (Total copy on the page was less than 1500 characters!)

65K isn.t too awful, but a CSS redesign brought it down to under 12K and it looks almost identical in modern browsers.

Jeff Hartman

Web design : la vie, c'est le changement [en]

Si vous souffrez de réticences à  abandonner les bonnes vieilles méthodes qui ont fait leurs preuves depuis 1995 (comprenez, par exemple, l’utilisation de tableaux pour la mise en page), lisez (et relisez) l’histoire de Clarence le poney. C’est une très jolie histoire, et elle explique bien dans quelle situation se trouvent bon nombre de web designers aujourd’hui.

Irrécupérable [en]

Non contente d’être une première de classe insupportable, je serais maintenant une intégriste des standards.

Note à  l’attention des pinailleurs: les trois erreurs (deux balises <img> pas fermées et un &amp; dans un url) qui empêchaient cette page d’être valide ont maintenant été corrigées. N’allez pas croire que parce que le validateur indiquait quarante-trois erreurs (ça aurait pu être 42 !) il y en avait effectivement quarante-trois à  corriger…