Click to See Complete Forum and Search --> : HTML 4.01 strict


PeOfEo
09-05-2003, 07:49 PM
My site (http://www.clanknights.vze.com) validates perfectly in html 4.01 transitional on the w3c validator but when I put it into doc-type override and set it to 4.01 strict, I saw a whole lot of errors. But the errors were on things like 'frameborder is not an attribute' or 'height' is not a valid atribute, and It was very weird. But the main thing I want to ask about is it gave me an error for the link 'target' attribute, if the target attribute is not valid in html 4.01 strict then how the heck would one go about targeting his links? It seems a bit messed up to me.

pyro
09-05-2003, 09:43 PM
You should be using the frameset DOCTYPE if you are using frames. That will allow the target attribute.

PeOfEo
09-06-2003, 12:29 AM
I am useing an IFrame though, not regular frames, I failed to mention that.

Khalid Ali
09-06-2003, 01:02 AM
If you use iframe or frames, to validate xhtml you will have to use frameset doc-type or transitional doc-type

PeOfEo
09-06-2003, 01:12 AM
Alright, so thats why then, so I guess I wont be making any attempts to use the strict doc type in the future with an iframe, good to know. I dont want to use the frameset so I guess Ill just stick with transitional.