<?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>Comparison of layout engines &#8211; stoimen&#039;s web log</title>
	<atom:link href="/tag/comparison-of-layout-engines/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>on web development</description>
	<lastBuildDate>Tue, 13 Feb 2018 08:18:15 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.0.3</generator>
	<item>
		<title>HTML Tags: &#060;base&#062;</title>
		<link>/2010/08/03/html-tags/</link>
		<comments>/2010/08/03/html-tags/#comments</comments>
		<pubDate>Tue, 03 Aug 2010 12:38:03 +0000</pubDate>
		<dc:creator><![CDATA[Stoimen]]></dc:creator>
				<category><![CDATA[web development]]></category>
		<category><![CDATA[Comparison of layout engines]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Conditional comment]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[HTML element]]></category>
		<category><![CDATA[Hyperlink]]></category>
		<category><![CDATA[Technology/Internet]]></category>
		<category><![CDATA[World Wide Web]]></category>

		<guid isPermaLink="false">/?p=1874</guid>
		<description><![CDATA[Overview Somehow the &#60;base&#62; tag remains unknown to most of the web developers, but that&#8217;s quite normal. However let see what it can do. By adding the &#60;base&#62; tag in the head of the page you tell every link into that page how to open and a default href value. Thus if you have: every &#8230; <a href="/2010/08/03/html-tags/" class="more-link">Continue reading <span class="screen-reader-text">HTML Tags: &#60;base&#62;</span> <span class="meta-nav">&#8594;</span></a><div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="/2011/02/25/how-to-collect-the-images-and-meta-tags-from-a-webpage-with-php/" rel="bookmark" title="How to Collect the Images and Meta Tags from a Webpage with PHP">How to Collect the Images and Meta Tags from a Webpage with PHP </a></li>
<li><a href="/2009/02/22/html-object-and-embed-tags/" rel="bookmark" title="Html object &#038; embed tags">Html object &#038; embed tags </a></li>
<li><a href="/2010/03/10/change-the-viewport-be-ready-for-the-iphone/" rel="bookmark" title="Change the Viewport, be Ready for the iPhone!">Change the Viewport, be Ready for the iPhone! </a></li>
<li><a href="/2010/03/11/html-tag-semantics-strong-vs-b/" rel="bookmark" title="HTML Tag Semantics. STRONG vs. B!">HTML Tag Semantics. STRONG vs. B! </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<h2>Overview</h2>
<p><a href="/wp-content/uploads/2010/08/base.jpg"><img class="aligncenter size-full wp-image-1882" title="base" src="/wp-content/uploads/2010/08/base.jpg" alt="base" width="430" height="142" srcset="/wp-content/uploads/2010/08/base.jpg 430w, /wp-content/uploads/2010/08/base-300x99.jpg 300w" sizes="(max-width: 430px) 100vw, 430px" /></a></p>
<p>Somehow the &lt;base&gt; tag remains unknown to most of the web developers, but that&#8217;s quite normal. However let see what it can do. By adding the &lt;base&gt; tag in the head of the page you tell every link into that page how to open and a default href value. Thus if you have:</p>
<pre lang="html4strict">
<base href="/">
</pre>
<p>every link without a href attribute will open this link. That&#8217;s really useful in some cases. However the most interesting part of the base tag is the target attribute.</p>
<h2>target=&#8221;_blank&#8221;</h2>
<p>Everybody knows what will result from this attribute attached to a anchor tag.</p>
<pre lang="html4strict">
<a href="http://www.stoimen.com/" target="_blank">Click Here</a>
</pre>
<p>But with only adding this base tag:</p>
<pre lang="html4strict">
<base target="_blank">
</pre>
<p>into the head &#8230; all the links will open in a new tab/window, depending on the browser preferences.</p>
<h2>Watch out!</h2>
<p>If you add the line above somewhere into the &lt;body&gt; tag the browser, will put it into the &lt;head&gt; which will make it difficult to track. A good practice is to place it directly into the &lt;head&gt;!</p>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="/2011/02/25/how-to-collect-the-images-and-meta-tags-from-a-webpage-with-php/" rel="bookmark" title="How to Collect the Images and Meta Tags from a Webpage with PHP">How to Collect the Images and Meta Tags from a Webpage with PHP </a></li>
<li><a href="/2009/02/22/html-object-and-embed-tags/" rel="bookmark" title="Html object &#038; embed tags">Html object &#038; embed tags </a></li>
<li><a href="/2010/03/10/change-the-viewport-be-ready-for-the-iphone/" rel="bookmark" title="Change the Viewport, be Ready for the iPhone!">Change the Viewport, be Ready for the iPhone! </a></li>
<li><a href="/2010/03/11/html-tag-semantics-strong-vs-b/" rel="bookmark" title="HTML Tag Semantics. STRONG vs. B!">HTML Tag Semantics. STRONG vs. B! </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>/2010/08/03/html-tags/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
