<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: How to make a link open in a new window with XHTML</title>
	<atom:link href="http://www.justin-cook.com/wp/2006/08/30/how-to-make-a-link-open-in-a-new-window-with-xhtml/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.justin-cook.com/wp/2006/08/30/how-to-make-a-link-open-in-a-new-window-with-xhtml/</link>
	<description>A web, technology, programming and SEO blog by Justin Cook</description>
	<pubDate>Sun, 12 Oct 2008 00:31:59 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: MIke</title>
		<link>http://www.justin-cook.com/wp/2006/08/30/how-to-make-a-link-open-in-a-new-window-with-xhtml/#comment-140098</link>
		<dc:creator>MIke</dc:creator>
		<pubDate>Thu, 14 Aug 2008 05:02:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.justin-cook.com/wp/2006/08/30/how-to-make-a-link-open-in-a-new-window-with-xhtml/#comment-140098</guid>
		<description>This article was exactly what I was looking for to keep my document strict.  You are correct, JavaScript is a behavior and target="_blank" belongs in JavaScript 

Thanks for the script!</description>
		<content:encoded><![CDATA[<p>This article was exactly what I was looking for to keep my document strict.  You are correct, JavaScript is a behavior and target=&#034;_blank&#034; belongs in JavaScript </p>
<p>Thanks for the script!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Busy</title>
		<link>http://www.justin-cook.com/wp/2006/08/30/how-to-make-a-link-open-in-a-new-window-with-xhtml/#comment-45732</link>
		<dc:creator>Busy</dc:creator>
		<pubDate>Wed, 24 Oct 2007 14:41:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.justin-cook.com/wp/2006/08/30/how-to-make-a-link-open-in-a-new-window-with-xhtml/#comment-45732</guid>
		<description>The javascript isn't wrriting invalid code, it's defining behavior (that's what it's supposed to do). HTML is there to structure the content, and that's why target="_blank" is invalid code in that context.

There are good reasons to use new windows, it's not all just trying to keep visitors on your site. What about when you want a small window to pop up to give some details about something, and you need something bigger than a title="" but sending them to a new page would be awkward?

Personally, I think this is an example of the W3C missing the mark. It's kind of like the &lt;i&gt; tag. If you want to nit-pick then yes, italics belongs in your CSS, but actually doing it that way is impractical enough to be wrong.</description>
		<content:encoded><![CDATA[<p>The javascript isn&#039;t wrriting invalid code, it&#039;s defining behavior (that&#039;s what it&#039;s supposed to do). HTML is there to structure the content, and that&#039;s why target=&#034;_blank&#034; is invalid code in that context.</p>
<p>There are good reasons to use new windows, it&#039;s not all just trying to keep visitors on your site. What about when you want a small window to pop up to give some details about something, and you need something bigger than a title=&#034;" but sending them to a new page would be awkward?</p>
<p>Personally, I think this is an example of the W3C missing the mark. It&#039;s kind of like the <i> tag. If you want to nit-pick then yes, italics belongs in your CSS, but actually doing it that way is impractical enough to be wrong.</i></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Payne</title>
		<link>http://www.justin-cook.com/wp/2006/08/30/how-to-make-a-link-open-in-a-new-window-with-xhtml/#comment-841</link>
		<dc:creator>Martin Payne</dc:creator>
		<pubDate>Wed, 30 Aug 2006 14:22:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.justin-cook.com/wp/2006/08/30/how-to-make-a-link-open-in-a-new-window-with-xhtml/#comment-841</guid>
		<description>So instead of writing invalid code, you use JavaScript to write the invalid code for you? Wouldn’t it be better to just avoid opening pages in new windows altogether?

I find it very annoying when I click on a link and a new window pops up—if I want to stay on the original page, I will open the link in a new tab…</description>
		<content:encoded><![CDATA[<p>So instead of writing invalid code, you use JavaScript to write the invalid code for you? Wouldn’t it be better to just avoid opening pages in new windows altogether?</p>
<p>I find it very annoying when I click on a link and a new window pops up—if I want to stay on the original page, I will open the link in a new tab…</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.187 seconds -->
