Ravi Parmar Posted February 10, 2014 Share Posted February 10, 2014 How can i apply target="_blank" in .tpl My code is here: <a href="http://www.test.com" target="_blank">USA/INTERNATIONAL</a> But http://validator.w3.org given Error: Line 223, Column 61: there is no attribute "target" How can i solved help me. Thank you Link to comment Share on other sites More sharing options...
vekia Posted February 10, 2014 Share Posted February 10, 2014 and how your website source code looks like, does the target param appear there? Link to comment Share on other sites More sharing options...
Whoami Posted February 10, 2014 Share Posted February 10, 2014 Hi, The attribute target="_blank" isn't supported by all doctypes (especially the strict's ones) Link to comment Share on other sites More sharing options...
ircykk Posted June 14, 2014 Share Posted June 14, 2014 Use class="_blank" instead of target. Link to comment Share on other sites More sharing options...
Recommended Posts