otuatail Posted September 15, 2009 Share Posted September 15, 2009 I am not using capitals for TARGET http://validator.w3.org Attribute "TARGET" is not a valid attribute. Did you mean "target"? <a href="http://www.jlife.org.za" target="_blank">www.jlife.org.za</a> Why is it complaining> Desmond. Link to comment https://forums.phpfreaks.com/topic/174317-solved-attribute-target-is-not-a-valid-attribute/ Share on other sites More sharing options...
PFMaBiSmAd Posted September 15, 2009 Share Posted September 15, 2009 Both 'width' (your other thread) and 'target' are not used in the strict HTML dtd. Link to comment https://forums.phpfreaks.com/topic/174317-solved-attribute-target-is-not-a-valid-attribute/#findComment-918885 Share on other sites More sharing options...
otuatail Posted September 15, 2009 Author Share Posted September 15, 2009 Ok that is bad as they are quite common. I will have to ignore the errors. Link to comment https://forums.phpfreaks.com/topic/174317-solved-attribute-target-is-not-a-valid-attribute/#findComment-918889 Share on other sites More sharing options...
gevans Posted September 16, 2009 Share Posted September 16, 2009 "Quite common" in bad coding practice. Target can be sorted with a little javascript, but the whole point is that you allow the user to decide where their window opens (I'm just guessing your use of target here). If you're using frames and the frameset dtd (another kettle of fish) it will allow target. Width is properly being implemented directly through html, just use an id or class and do it via css. Link to comment https://forums.phpfreaks.com/topic/174317-solved-attribute-target-is-not-a-valid-attribute/#findComment-919755 Share on other sites More sharing options...
haku Posted September 20, 2009 Share Posted September 20, 2009 I hate it when sites force new windows on me. It should be left in my hands on when I want to open a new window. Link to comment https://forums.phpfreaks.com/topic/174317-solved-attribute-target-is-not-a-valid-attribute/#findComment-921723 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.