<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Learning the World &#187; Second Edition</title>
	<atom:link href="http://learningtheworld.eu/tag/second-edition/feed/" rel="self" type="application/rss+xml" />
	<link>http://learningtheworld.eu</link>
	<description></description>
	<lastBuildDate>Tue, 06 Nov 2012 00:17:33 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.9.1</generator>
	<item>
		<title>XHTML 1.1 Second Edition with Target Attribute</title>
		<link>http://learningtheworld.eu/2007/xhtml-with-target/</link>
		<comments>http://learningtheworld.eu/2007/xhtml-with-target/#comments</comments>
		<pubDate>Thu, 22 Feb 2007 16:30:35 +0000</pubDate>
		<dc:creator><![CDATA[Martin Kliehm]]></dc:creator>
				<category><![CDATA[downloads]]></category>
		<category><![CDATA[W3C]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[web standards]]></category>
		<category><![CDATA[attribute]]></category>
		<category><![CDATA[HTML WG]]></category>
		<category><![CDATA[module]]></category>
		<category><![CDATA[Second Edition]]></category>
		<category><![CDATA[target]]></category>
		<category><![CDATA[working draft]]></category>
		<category><![CDATA[XHTML]]></category>
		<category><![CDATA[XHTML 1.1]]></category>

		<guid isPermaLink="false">http://learningtheworld.eu/2007/xhtml-with-target/</guid>
		<description><![CDATA[When I switched from <acronym title="Hypertext Markup Language">HTML</acronym>&#160;4 to <acronym title="Extensible Hypertext Markup Language">XHTML</acronym>&#160;1.1 a couple of years ago, I soon found the <strong><code>target</code> attribute</strong> was missing. I have never been in love with the <code>target</code> attribute anyway, but some clients insisted that their links should open in a new window. So I did some research. [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>When I switched from <acronym title="Hypertext Markup Language">HTML</acronym>&nbsp;4 to <acronym title="Extensible Hypertext Markup Language">XHTML</acronym>&nbsp;1.1 a couple of years ago, I soon found <strong>the <code>target</code> attribute was missing.</strong> I have never been in love with the <code>target</code> attribute anyway, but some clients insisted that their links should open in a new window. So I did some research.</p>

<p>You won&rsquo;t believe how much <a href="http://www.thinkvitamin.com/features/design/dont-be-the-weakest-link#comments" title="Comments on a Vitamin article">myth</a> and <a href="http://www.456bereastreet.com/archive/200603/the_target_attribute_and_opening_new_windows/" title="Roger Johansson: The target attribute and opening new windows">misinformation</a> is out there. Some say <strong>it&rsquo;s deprecated</strong>. In fact it never was. It is part of <acronym>XHTML</acronym>&nbsp;2 and <acronym>XHTML</acronym> Basic, and there is a <code>target</code> module in <acronym>XHTML</acronym>&nbsp;1.1, the modularized version of <acronym>XHTML</acronym>. The attribute is not included in <acronym>HTML</acronym>&nbsp;4.01 Strict and <acronym>XHTML</acronym>&nbsp;1.0 Strict because it was then considered to be related to <code>frame</code>s and <code>iframe</code>s, but it&rsquo;s not marked &ldquo;deprecated.&rdquo; It was simply not in the core set of modules for the <acronym>XHTML</acronym>&nbsp;1.1 driver.</p>

<p>Some people argued <strong>it&rsquo;s a behavior</strong> and thus belongs into <a href="http://www.thefutureoftheweb.com/blog/target-blank-xhtml11">unobtrusive JavaScript</a>. But then clicking on a link to get to another page is also some functionality, and nobody would think of replacing anchors with loads of bloated script to simulate such a basic behavior.</p>

<p id="dtd-extension">So I ended up <strong>extending the extensible</strong> with a <a href="/dtd/xhtml-target.dtd" type="application/xml-dtd">customized <acronym title="Document Tpe Definition">DTD</acronym></a>:</p>

<ol class="code">
<li><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;iso-8859-1&quot;?&gt;</code></li>
<li>&lt;!&#45;- Bring in the XHTML 1.1 driver -&#45;&gt;</li>
<li><code>&lt;!ENTITY % xhtml11.dtd</code></li>
<li class="indent"><code>PUBLIC &quot;-//W3C//DTD XHTML 1.1//EN&quot;</code></li>
<li class="indent"><code>&quot;http://www.w3.org/TR/xhtml11/<span class="codeSpace">&nbsp;</span>DTD/xhtml11.dtd&quot;&gt;</code></li>
<li><code>%xhtml11.dtd;</code></li>
<li>&nbsp;</li>
<li>&lt;!&#45;- Bring in the Target Module -&#45;&gt;</li>
<li><code>&lt;!ENTITY % xhtml-target.mod</code></li>
<li class="indent"><code>PUBLIC &quot;-//W3C//ELEMENTS XHTML Target 1.0//EN&quot;</code></li>
<li class="indent"><code>&quot;http://www.w3.org/TR/<span class="codeSpace">&nbsp;</span>xhtml-modularization/DTD/<span class="codeSpace">&nbsp;</span>xhtml-target-1.mod&quot;&gt;</code></li>
<li><code>%xhtml-target.mod;</code></li>
</ol>

<p>However, now I have to bid farewell to that bizarre old friend: the working draft of <a href="http://www.w3.org/TR/2007/WD-xhtml11-20070216/xhtml11-diff.html#a_xhtml11_driver"><acronym>XHTML</acronym>&nbsp;1.1 Second Edition</a> includes the <strong><code>target</code> module in the core set</strong>, finally. I&rsquo;m relieved because tinkering with <acronym>DTD</acronym>s is a pain, but it had style&nbsp;&hellip;</p>

<p>Note that in the current version <code>target</code> is not yet included in <acronym>XHTML</acronym>&nbsp;1.1 <em>Schema</em>, but I have been assured it will <a href="http://lists.w3.org/Archives/Public/www-html-editor/2007JanMar/0033.html">definitely be in the final version</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://learningtheworld.eu/2007/xhtml-with-target/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>
