<?xml version="1.0"?>
<rss version="2.0">
 <channel>
  <title>&quot;Target&quot; attribute | WPDFD.com Forums</title>
  <link>http://www.wpdfd.com/forums/wpdfd/markup/quottargetquot_attribute/</link>
  <description>A Markup forum thread at WPDFD.com</description>
  <language>en-us</language>
  <pubDate>04/18/04, 109 22 2004 2004:%i:1082319732 15:22:12</pubDate>
  <lastBuildDate>11/18/08, 323 44 2008 2008:%i:1227066273 21:44:33</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>NineLabs Framework Feed Generator</generator>
  <managingEditor>sitemaster@wpdfd.com</managingEditor>
  <webMaster>sitemaster@wpdfd.com</webMaster>
     <item>
    <title>Vladimir  said:</title>
    <link>http://www.wpdfd.com/forums/wpdfd/markup/quottargetquot_attribute/#p769</link>
    <description><![CDATA[Hi all,<br /><br />One of my XHTML Strict pages uses the &quot;target&quot; attribute in the element &quot;a&quot;. I used the W3 validator and it said that this attribute didn't exist. ??? But there isn't any alternative. What can I do?<br /><br />Thanks.]]></description>
    <pubDate>04/18/04, 109 22 2004 2004:%i:1082319732 15:22:12</pubDate>
    <guid>http://www.wpdfd.com/forums/wpdfd/markup/quottargetquot_attribute/#p769</guid>
   </item>
     <item>
    <title>Joe Gillespie said:</title>
    <link>http://www.wpdfd.com/forums/wpdfd/markup/quottargetquot_attribute/#p770</link>
    <description><![CDATA[Don't use 'strict' - that's only for masochists! ]]></description>
    <pubDate>04/18/04, 109 28 2004 2004:%i:1082320135 15:28:55</pubDate>
    <guid>http://www.wpdfd.com/forums/wpdfd/markup/quottargetquot_attribute/#p770</guid>
   </item>
     <item>
    <title>Baxter  said:</title>
    <link>http://www.wpdfd.com/forums/wpdfd/markup/quottargetquot_attribute/#p771</link>
    <description><![CDATA[I always use strict. &nbsp;Maybe I am a masochist, but it's the fastest way to force the browser into compliant rather than loose mode, and if it validates in strict, it's clean. But maybe I am a masochist.<br /><br />I can't recall if I've run into this problem before and how I handled it, but a quickie google search suggested passing it off to the onclick function, like so:<br /><br />&lt;a href=&quot;foo.html&quot; onclick=&quot;window.open('foo.html'); return false&quot;&gt;foo&lt;/a&gt;]]></description>
    <pubDate>04/19/04, 110 27 2004 2004:%i:1082406441 15:27:21</pubDate>
    <guid>http://www.wpdfd.com/forums/wpdfd/markup/quottargetquot_attribute/#p771</guid>
   </item>
     <item>
    <title>Joe Gillespie said:</title>
    <link>http://www.wpdfd.com/forums/wpdfd/markup/quottargetquot_attribute/#p772</link>
    <description><![CDATA[The tree that bends with the wind seldom breaks <img src="/images/emoticons/smile.png" class="smiley" />]]></description>
    <pubDate>04/19/04, 110 33 2004 2004:%i:1082417618 18:33:38</pubDate>
    <guid>http://www.wpdfd.com/forums/wpdfd/markup/quottargetquot_attribute/#p772</guid>
   </item>
     <item>
    <title>Vladimir  said:</title>
    <link>http://www.wpdfd.com/forums/wpdfd/markup/quottargetquot_attribute/#p773</link>
    <description><![CDATA[<blockquote><strong>Baxter said:</strong><br />
I always use strict. &nbsp;Maybe I am a masochist, but it's the fastest way to force the browser into compliant rather than loose mode, and if it validates in strict, it's clean. But maybe I am a masochist.<br /><br />I can't recall if I've run into this problem before and how I handled it, but a quickie google search suggested passing it off to the onclick function, like so:<br /><br />&lt;a href=&quot;foo.html&quot; onclick=&quot;window.open('foo.html'); return false&quot;&gt;foo&lt;/a&gt;</blockquote><br /><br />If you use the onclick function, however, won't pop-up blockers be activated? Because I don't think they block the &quot;target&quot; attributes though.]]></description>
    <pubDate>04/19/04, 110 37 2004 2004:%i:1082417826 18:37:06</pubDate>
    <guid>http://www.wpdfd.com/forums/wpdfd/markup/quottargetquot_attribute/#p773</guid>
   </item>
     <item>
    <title>Baxter  said:</title>
    <link>http://www.wpdfd.com/forums/wpdfd/markup/quottargetquot_attribute/#p774</link>
    <description><![CDATA[Good question, and offhand I don't really have an answer.<br />Try it and see. At most, yer out five minutes time, trying.<br /><br />A really ugly, dirty solution would be to use document.write to insert the target function, but even if it worked, it'd be an ugly hack.<br /><br />Here's a really high-zoot way of doing it that's way to complex for me to summarize here, but it looks like the author REALLY knows what he's talking about.<br /><br />http://www.accessify.com/tutorials/standards-compliant-new-windows.asp<br /><br />]]></description>
    <pubDate>04/20/04, 111 51 2004 2004:%i:1082472681 09:51:21</pubDate>
    <guid>http://www.wpdfd.com/forums/wpdfd/markup/quottargetquot_attribute/#p774</guid>
   </item>
     <item>
    <title>Joe Gillespie said:</title>
    <link>http://www.wpdfd.com/forums/wpdfd/markup/quottargetquot_attribute/#p775</link>
    <description><![CDATA[That stuff makes my brain itch and I can't scratch it. If they are talking about accessibility, why isn't it more accessible to humans? It's no wonder people shy away from 'strict'!!!]]></description>
    <pubDate>04/20/04, 111 31 2004 2004:%i:1082482308 12:31:48</pubDate>
    <guid>http://www.wpdfd.com/forums/wpdfd/markup/quottargetquot_attribute/#p775</guid>
   </item>
     <item>
    <title>Baxter  said:</title>
    <link>http://www.wpdfd.com/forums/wpdfd/markup/quottargetquot_attribute/#p776</link>
    <description><![CDATA[Do not fear &quot;strict&quot;... it has a clearly defined and relatively simple set of rules, and as long as you stay within them, your pages WILL work, and they'll work more reliably, as all browsers will be in compliant mode. Browsers in loose mode make my brain itch. Just too hard to remember all the differences.<br /><br />Target is a funny thing, though. If it were me I'd ask myself &quot;do I REALLY need this open in a new window&quot;? If so, I'd probably use the simple onclick method.]]></description>
    <pubDate>04/20/04, 111 42 2004 2004:%i:1082486531 13:42:11</pubDate>
    <guid>http://www.wpdfd.com/forums/wpdfd/markup/quottargetquot_attribute/#p776</guid>
   </item>
     <item>
    <title>Joe Gillespie said:</title>
    <link>http://www.wpdfd.com/forums/wpdfd/markup/quottargetquot_attribute/#p777</link>
    <description><![CDATA[But, IE in Strict mode is a quite different animal than Mozilla in Strict mode. Where do you what to go today?]]></description>
    <pubDate>04/20/04, 111 43 2004 2004:%i:1082493797 15:43:17</pubDate>
    <guid>http://www.wpdfd.com/forums/wpdfd/markup/quottargetquot_attribute/#p777</guid>
   </item>
     <item>
    <title>Vladimir  said:</title>
    <link>http://www.wpdfd.com/forums/wpdfd/markup/quottargetquot_attribute/#p778</link>
    <description><![CDATA[Well if you really wanted to write standards-compliant code, then you wouldn't want to use deprecated elements, which would then be classified as &quot;strict&quot;... I mean what's the point of using XHTML if you're still using font tags?]]></description>
    <pubDate>04/20/04, 111 27 2004 2004:%i:1082507270 19:27:50</pubDate>
    <guid>http://www.wpdfd.com/forums/wpdfd/markup/quottargetquot_attribute/#p778</guid>
   </item>
     <item>
    <title>Baxter  said:</title>
    <link>http://www.wpdfd.com/forums/wpdfd/markup/quottargetquot_attribute/#p779</link>
    <description><![CDATA[Yes, but they're much closer in strict than they are in loose. In strict, you're pretty much just worrying about the box model. In loose, all kinds of funky stuff can go down.<br /><br />And who said anything about font tags?]]></description>
    <pubDate>04/21/04, 112 24 2004 2004:%i:1082571897 13:24:57</pubDate>
    <guid>http://www.wpdfd.com/forums/wpdfd/markup/quottargetquot_attribute/#p779</guid>
   </item>
     <item>
    <title>Vladimir  said:</title>
    <link>http://www.wpdfd.com/forums/wpdfd/markup/quottargetquot_attribute/#p780</link>
    <description><![CDATA[Font tags are deprecated elements, are they not? &nbsp;<img src="/images/emoticons/wink.png" class="smiley" />]]></description>
    <pubDate>04/21/04, 112 32 2004 2004:%i:1082597569 20:32:49</pubDate>
    <guid>http://www.wpdfd.com/forums/wpdfd/markup/quottargetquot_attribute/#p780</guid>
   </item>
     <item>
    <title>Baxter  said:</title>
    <link>http://www.wpdfd.com/forums/wpdfd/markup/quottargetquot_attribute/#p781</link>
    <description><![CDATA[Yes, but what's that got to do with anything? There's NO good reason to use a font tag, and since no one mentioned them, I'm having trouble understanding where they fit in.]]></description>
    <pubDate>04/22/04, 113 41 2004 2004:%i:1082644876 09:41:16</pubDate>
    <guid>http://www.wpdfd.com/forums/wpdfd/markup/quottargetquot_attribute/#p781</guid>
   </item>
     <item>
    <title>Graham  said:</title>
    <link>http://www.wpdfd.com/forums/wpdfd/markup/quottargetquot_attribute/#p782</link>
    <description><![CDATA[So is the common wisdom to just keep using Transitional? &nbsp;Or just stop wanting to open new browser windows... or use hacks to do it? &nbsp;Hmm.<br /><br />Graham]]></description>
    <pubDate>09/21/04, 265 35 2004 2004:%i:1095788128 12:35:28</pubDate>
    <guid>http://www.wpdfd.com/forums/wpdfd/markup/quottargetquot_attribute/#p782</guid>
   </item>
     <item>
    <title>Baxter  said:</title>
    <link>http://www.wpdfd.com/forums/wpdfd/markup/quottargetquot_attribute/#p783</link>
    <description><![CDATA[I think the smart thing is to ask yourself &quot;WHY am I opening a new window?&quot; <br /><br />If there's a good reason, there's probably a clear solution to the problem.<br /><br />Or maybe not, in which case, use transitional and don't lose any sleep over it.<br /><br />I don't really understand why the deprecated it without having a clear replacement mechanisim in place. I mean, I understand WHY they deprecated it (separation of behavior from content), but I don't understand why they dropped it without offering up a good alternative method.]]></description>
    <pubDate>09/21/04, 265 55 2004 2004:%i:1095789350 12:55:50</pubDate>
    <guid>http://www.wpdfd.com/forums/wpdfd/markup/quottargetquot_attribute/#p783</guid>
   </item>
     <item>
    <title>Graham  said:</title>
    <link>http://www.wpdfd.com/forums/wpdfd/markup/quottargetquot_attribute/#p784</link>
    <description><![CDATA[Right... I guess that's my problem with it. &nbsp;No clear replacement.<br /><br />I'm opening a new window on links that are external to the site. &nbsp;Now, I guess I don't have to do this, and people can learn to use their back-button and/or history to find their way back. &nbsp;Does this sound reasonable based on your own browsing habits?<br /><br />Graham]]></description>
    <pubDate>09/23/04, 267 25 2004 2004:%i:1095985531 19:25:31</pubDate>
    <guid>http://www.wpdfd.com/forums/wpdfd/markup/quottargetquot_attribute/#p784</guid>
   </item>
     <item>
    <title>Kk5st  said:</title>
    <link>http://www.wpdfd.com/forums/wpdfd/markup/quottargetquot_attribute/#p785</link>
    <description><![CDATA[The target attribute is deprecated in html4 and xhtml for all elements since windows and frames are outside the scope of pure document markup.<br /><br />If you really can't do without it, use scripting to open the new window. &nbsp;That's the desired w3 method.<br /><br />cheers,<br /><br />gary]]></description>
    <pubDate>10/12/04, 286 12 2004 2004:%i:1097572378 04:12:58</pubDate>
    <guid>http://www.wpdfd.com/forums/wpdfd/markup/quottargetquot_attribute/#p785</guid>
   </item>
   </channel>
</rss>