[thelist] Why do we say what we say?
Symeon Charalabides
symeon at systasis.com
Thu Oct 25 05:09:22 CDT 2007
Jon,
> A couple of examples are having a space before the forward slash for
> singleton tags (<br /> instead of <br/>) and having your CSS included above
> your scripts.
By including CSS instead of using inline stylesheets, you are
- making your HTML documents lighter,
- separating content from presentation and thus
- making your website much, much easier to maintain.
As regards the space before the slash for tags with no closing tag, I it's a XHTML requirement and I believe (though I'm at work and cannot test it now) that if you declare your document as XHTML strict, the parser will indeed cough if you omit the space. But you should probably try it for yourself...
Symeon Charalabides (cosmopolite trainee)
-----------------------------------------
http://www.systasis.com
More information about the thelist
mailing list