IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Loose XHTML?
One other suggestion that I would make is to try to get the HTML somewhat compliant with the XHTML standards. The five main requirements for the loose or transitional xhtml are:

1. Proper nesting: Other than the one off-balance end font tag, you're already there.

2. End Tags required: I didn't find any violations along these lines.

3. Terminate Empty Elements: This is really the only thing you need to do to get the html to be well-formed XML. Right now, you're using some of the unbounded HTML tags. Just add a space with /> and you should be good to go. This applies to the following tags: <META /> <BR /> <IMG /> <HR /> <INPUT />. I see you already had the foresight to put the termination on a bunch of the input elements (exception is the SUBMIT buttons).

4. Quoted attributes: Ok there.

5. Case Sensitivity: You seem to be using lower case, so you should be ok there.

Anyhow, if you terminate the empty elements, you should be able to use some XML tools to validate the well-formedness of the generated html. Might save you some pain in the long run.
New Re: Loose XHTML?
3. Terminate Empty Elements: This is really the only thing you need to do to get the html to be well-formed XML. Right now, you're using some of the unbounded HTML tags. Just add a space with /> and you should be good to go. This applies to the following tags: <META /> <BR /> <IMG /> <HR /> <INPUT />. I see you already had the foresight to put the termination on a bunch of the input elements (exception is the SUBMIT buttons).
How does this affect parsing by older browsers? Will they recognize something like <BR /> as a break tag?

The SUBMIT buttons are autogenerated by a Zope form tool; I'll have to visit the source code on those.

5. Case Sensitivity: You seem to be using lower case, so you should be ok there.
Heh, I like that requirement. I can't stand uppercase HTML tags. :-)
Regards,

-scott anderson
New Should be ok...
To the best of my knowledge, the extra slash at the end is ignored by the normal html browsers, but my tests have not been that comprehensive - I know IE, NN, & Opera handle it with no difficulty - can't say for Lynx, etc...

If you look at the html for the forms, you find that the <input /> tags are already using that technique. So your probably no worse off if you go ahead and terminate the rest of the tags.
New I'll give it a look-see.
Regards,

-scott anderson
     HTML Compliance - (CrisR) - (12)
         Re: HTML Compliance - (admin) - (7)
             Color attributes - (CrisR) - (5)
                 Re: Color attributes - Fixed. -NT - (admin) - (4)
                     How about size attributes? - (jb4) - (3)
                         Noted. Thanks. -NT - (admin)
                         Suggestion re: font size - (jake123) - (1)
                             They should all be relative sized. - (admin)
             Re: HTML Compliance - (inthane-chan)
         Loose XHTML? - (CrisR) - (3)
             Re: Loose XHTML? - (admin) - (2)
                 Should be ok... - (CrisR) - (1)
                     I'll give it a look-see. -NT - (admin)

Powered by invisible sky pixies!
143 ms