23 Dec 2004
(updated 9 Jun 2005 at 22:34 UTC) »
Today I modified all the .html files of my website to make them validate as XHTML 1.0 Strict. I used to have them validated as XHTML 1.0 Transitional, but I realized, while reading the W3C website, that my webpages only needed minor changes in order to validate as Strict. So I made those minor changes, mostly in the DOCTYPE, although some needed placing data inside <p> or <div> tags. Well, it's done.
Follow standards, please.
I've been learning some CSS basics. It's very amazing to see how CSS can produce high-quality layouts and still be completely standard. And not only that, but it eases the management of the ``look & feel'' of a complete website: the only thing you have to do is to link your CSS file to every XHTML/PHP/HTML file you have, and every change made to the layout will be automagically reflected on the entire site.
And those aren't the only advantages. All this CSS thing makes you separate the content (XHTML) from the presentation (CSS), a golden rule in software (and Web) development.
And it's not as hard to learn as I thought, so I've been playing a little with my website layout. I like it.