R
richard
While checking my code for validating properly, I ran across a real good
one.
http://www.w3schools.com/TAGS/tryit.asp?filename=tryhtml_link_target
Now run this one through their own validator.
13 errors, 3 warnings.
In their base file for the anchor tag, they preach, "do not use 'target' in
the <a> tag", yet they flat out do it themselves!
Yet, none of the errors reported showed this as being wrong, while the
validator screamed bloody hell on my own code.
"There is no attribute 'target' ".
Now the question is, when and how do use the "target" appropriately?
In my particular case, target is being used for javascript and if I place
it elsewhere, may screw up the script.
In using 4.01 strict though, it seems to be ok.
one.
http://www.w3schools.com/TAGS/tryit.asp?filename=tryhtml_link_target
Now run this one through their own validator.
13 errors, 3 warnings.
In their base file for the anchor tag, they preach, "do not use 'target' in
the <a> tag", yet they flat out do it themselves!
Yet, none of the errors reported showed this as being wrong, while the
validator screamed bloody hell on my own code.
"There is no attribute 'target' ".
Now the question is, when and how do use the "target" appropriately?
In my particular case, target is being used for javascript and if I place
it elsewhere, may screw up the script.
In using 4.01 strict though, it seems to be ok.