<?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>Programming &#38; technology &#187; HTML</title>
	<atom:link href="http://limborey.com/category/html/feed/" rel="self" type="application/rss+xml" />
	<link>http://limborey.com</link>
	<description>some useful stuff related to Programming Language, Pattern &#38; technology</description>
	<lastBuildDate>Sun, 30 May 2010 08:07:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>HTML &#8211; Tab Index</title>
		<link>http://limborey.com/2009/09/13/html-tab-index/</link>
		<comments>http://limborey.com/2009/09/13/html-tab-index/#comments</comments>
		<pubDate>Sun, 13 Sep 2009 10:13:55 +0000</pubDate>
		<dc:creator>Borey</dc:creator>
				<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://limborey.wordpress.com/?p=119</guid>
		<description><![CDATA[The tabIndex property sets or returns the tab index for a text field. The tab order defines the order the elements appear if you navigate the page using  the &#8220;tab&#8221; button on the keyboard.
Given the scenario that we have a webpage which has many links &#38; a form for users to complete. In this [...]]]></description>
			<content:encoded><![CDATA[<p>The tabIndex property sets or returns the tab index for a text field. The tab order defines the order the elements appear if you navigate the page using  the &#8220;tab&#8221; button on the keyboard.</p>
<p>Given the scenario that we have a webpage which has many links &amp; a form for users to complete. In this case we see that the main focus is the form not the links before the form. If users were to use tabkey to browse to the form, it would take many keypress before users are able to go to form. We can solve our problem by specifying the tabindex property.</p>
<p>Here&#8217;s a simple example:</p>
<pre class="brush: xml;">
&lt;pre&gt;&lt;form&gt;
    &lt;label for=&quot;name&quot;&gt;Your Name&lt;/label&gt;
    &lt;input value=&quot;&quot; id= &quot;name&quot; name=&quot;name&quot; type=&quot;text&quot; tabindex = &quot;1&quot;&gt;

    &lt;label for=&quot;email&quot;&gt;Your E-mail&lt;/label&gt;
    &lt;input value=&quot;&quot; name=&quot;email&quot; id=&quot;email&quot; type=&quot;text&quot; tabindex = 2&gt;

    &lt;label for=&quot;mobile&quot;&gt;Your mobile&lt;/label&gt;
    &lt;input value=&quot;&quot; name=&quot;mobile&quot; id=&quot;mobile&quot; type=&quot;text&quot; tabindex = -1 &gt;

    &lt;label for=&quot;message&quot;&gt;Message&lt;/label&gt;
    &lt;textarea rows=&quot;4&quot; cols=&quot;30&quot; name=&quot;message&quot; id=&quot;message&quot; tabindex = 3&gt;&lt;/textarea&gt;
&lt;/form&gt;
&lt;/pre&gt;
</pre>
<p>&#8220;tabindex = -1&#8243; will make the tab not go though the field when the user clicks tabkey.</p>
]]></content:encoded>
			<wfw:commentRss>http://limborey.com/2009/09/13/html-tab-index/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

<!-- www.000webhost.com Analytics Code -->
<script type="text/javascript" src="http://analytics.hosting24.com/count.php"></script>
<noscript><a href="http://www.hosting24.com/"><img src="http://analytics.hosting24.com/count.php" alt="web hosting" /></a></noscript>
<!-- End Of Analytics Code -->
