kengr: (Brain)
kengr ([personal profile] kengr) wrote2004-05-19 11:04 pm

HTML help requested

I'm using the validator at w3.org to check my web pages. It's caught some stuff, but there's one "error" that I'm tearing my hair over.

It doesn't like the table tag. The specific error it's giving is:

document type does not allow element "TABLE" here; missing one of "APPLET", "OBJECT", "MAP", "IFRAME", "BUTTON" start-tag

Anybody want to explain what the hell they are talking about?

[identity profile] farquhar.livejournal.com 2004-05-20 09:41 am (UTC)(link)
I don't think a font tag can hold a table tag legally. IE and many user agents will vender the results but it isn't good HTML grammar.

But the answer is: a font can't hold a table. under the rules. the latest "rules" say front is old don't use it anymore, use styles instead.

[identity profile] farquhar.livejournal.com 2004-05-20 11:03 am (UTC)(link)
Try HTML Tidy it can do much cleanup safely.