Theiling Online    Sitemap    Conlang Mailing List HQ   

Re: XHTML (was: Chelume)

From:Andreas Johansson <andjo@...>
Date:Friday, January 9, 2004, 23:31
Quoting jcowan@REUTERSHEALTH.COM:

> Andreas Johansson scripsit: > > > I'm not going to learn XHTML in the forseeable future*, > > Oh yes you are.
I'll be the judge of that.
> 1) Put all tag names and attribute names in lower case.
No-ones ever been able to bother me into writing a tag in upper case, so this is of little consequence.
> 2) Make sure every start-tag has an end-tag. This rule does not apply to > empty tags, namely basefont, br, area, link, img, param, hr, input, col, > frame, isindex. (If you don't know what some of these are, don't worry about > it).
This means p should have one. Annoying.
> 3) Replace the ">" at the end of an empty tag with " />".
That's would be major drain on the ol' brain. Esply that space.
> 4) Make sure all start-tags and end-tags are properly nested.
Which means?
> 5) Make sure all attribute values are in quotation marks, either single or > double.
Sounds doable.
> 6) Make sure attributes like "checked", that don't have values, are > written "checked='checked'".
Can't recall last I used a such. Probably involved "table border".
> 7) Any & and < characters, even in scripts or stylesheets, must be replaced > by &amp; and &lt; respectively.
Luck I don't use ampersands much.
> 8) Don't wrap scripts in comment markers (<!-- ... -->).
Comments happen to other people.
> 9) Make sure you use the semicolon after an entity reference like &aacute;.
I wasn't aware you could do without them before?
> That's all.
I'm sure you're hiding something! :) Andreas

Reply

Mark J. Reed <markjreed@...>