<?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:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>HEMANT SONKER'S BLOG</title>
	<atom:link href="http://hemantsonker.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://hemantsonker.wordpress.com</link>
	<description>no defeat is final untill u stop trying...</description>
	<pubDate>Wed, 06 Feb 2008 06:22:45 +0000</pubDate>
	<generator>http://wordpress.org/?v=MU</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Validating flash</title>
		<link>http://hemantsonker.wordpress.com/2008/02/06/validating-flash/</link>
		<comments>http://hemantsonker.wordpress.com/2008/02/06/validating-flash/#comments</comments>
		<pubDate>Wed, 06 Feb 2008 06:21:08 +0000</pubDate>
		<dc:creator>Hemant Sonker</dc:creator>
		
		<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://hemantsonker.wordpress.com/?p=26</guid>
		<description><![CDATA[The code which is generated by macromedia dreamweaver for flash doesn&#8217;t validate in w3c in xhtml DTD.
It throws  error that embed is not a valid tag.blah blah&#8230;&#8230; Its better to use object which is a valid xhtml tag
Also it doesnt work in Firefox ,opera and netscape.After searching a lot on google basically from www.alistapart.com  [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>The code which is generated by macromedia dreamweaver for flash doesn&#8217;t validate in w3c in xhtml DTD.</p>
<p>It throws  error that embed is not a valid tag.blah blah&#8230;&#8230; Its better to use object which is a valid xhtml tag</p>
<p>Also it doesnt work in Firefox ,opera and netscape.After searching a lot on google basically from <a href="http://www.alistapart.com" title="Alistapart">www.alistapart.com  </a> i found a way to work on flash code which works on all browsers.</p>
<p>This is done by this following code.</p>
<p>&lt;!&#8211;[if IE]&gt;&lt;object classid=&#8221;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&#8243;<br />
codebase=&#8221;http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0&#8243; width=&#8221;100&#8243; height=&#8221;120&#8243;&gt;<br />
&lt;param name=&#8221;movie&#8221;<br />
value=&#8217;some.swf&#8217;&gt;<br />
&lt;![endif]x&#8211;&gt;<br />
&lt;!&#8211;[if !IE]&gt; &lt;&#8211;&gt;<br />
&lt;object type=&#8221;application/x-shockwave-flash&#8221; data=&#8221;some.swf&#8221;  width=&#8221;100&#8243; height=&#8221;120&#8243; &gt;<br />
&lt;!&#8211;&gt; &lt;![endif]&#8211;&gt;<br />
&lt;param name=&#8221;movie&#8221; value=&#8221;some.swf&#8221;  /&gt;<br />
&lt;param name=&#8221;quality&#8221; value=&#8221;high&#8221; /&gt;<br />
&lt;/object&gt;</p>
<p>enjoy&#8230;&#8230;.this code works on all browsers.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/hemantsonker.wordpress.com/26/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/hemantsonker.wordpress.com/26/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hemantsonker.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hemantsonker.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hemantsonker.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hemantsonker.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hemantsonker.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hemantsonker.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hemantsonker.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hemantsonker.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hemantsonker.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hemantsonker.wordpress.com/26/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hemantsonker.wordpress.com&blog=789353&post=26&subd=hemantsonker&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://hemantsonker.wordpress.com/2008/02/06/validating-flash/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/hemantsonker-128.jpg" medium="image">
			<media:title type="html">hemantsonker</media:title>
		</media:content>
	</item>
		<item>
		<title>Validating Iframe</title>
		<link>http://hemantsonker.wordpress.com/2008/02/05/validating-iframe/</link>
		<comments>http://hemantsonker.wordpress.com/2008/02/05/validating-iframe/#comments</comments>
		<pubDate>Tue, 05 Feb 2008 20:23:25 +0000</pubDate>
		<dc:creator>Hemant Sonker</dc:creator>
		
		<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://hemantsonker.wordpress.com/?p=25</guid>
		<description><![CDATA[As a developer ,i came across a solution for validating iframes in strict DTD. As iframe is a depreciated tag, still it works in html 4.01 ,xhtml1.0.But its better to  use object in place of iframe.
&#60;object&#62; is for inserting any foreign object into XHTML documents. Since Iframes include HTML/XHTML documents, the MIME type for [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>As a developer ,i came across a solution for validating iframes in strict DTD. As iframe is a depreciated tag, still it works in html 4.01 ,xhtml1.0.But its better to  use object in place of iframe.</p>
<p>&lt;object&gt; is for inserting <b>any</b> foreign object into XHTML documents. Since Iframes include HTML/XHTML documents, the MIME type for the document is &#8220;text/html&#8221; or &#8220;application/xhtml+xml&#8221;. We will use  the first one because it is compatible with <b>all browsers</b> including Internet Explorer.</p>
<p>Let  me show you by an example.</p>
<p>&lt;!DOCTYPE html PUBLIC &#8220;-//W3C//DTD XHTML 1.0 Transitional//EN&#8221;<br />
&#8220;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#8221;&gt;<br />
&lt;html xmlns=&#8221;http://www.w3.org/1999/xhtml&#8221; lang=&#8221;en&#8221; xml:lang=&#8221;en&#8221;&gt;<br />
&lt;head&gt;<br />
&lt;title&gt;&lt;/title&gt;<br />
&lt;meta http-equiv=&#8221;Content-Type&#8221; content=&#8221;text/html; charset=iso-8859-1&#8243; /&gt;<br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
&lt;object style=&#8221;width:500px; height:200px&#8221; data=&#8221;http://www.google.com&#8221; type=&#8221;text/html&#8221;  standby=&#8221;Google&#8221;&gt;&lt;/object&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</p>
<p>Let me briefly explain the terms which are used in the above snippet.</p>
<ul>
<li><b><font color="#3366ff"><span style="color:#993399;">classid</span></font> </b><!--/colorc-->- Defines a ClassID in the registry.</li>
<li><b><font color="#3366ff"><span style="color:#993399;">data</span></font> </b><!--/colorc--> - The URL of the object (required).</li>
<li><b><font color="#3366ff"><span style="color:#993399;">name</span></font></b> - The name of the object if you are using it in JavaScript/VBScript or some other scripting language.</li>
<li><b><font color="#3366ff"><span style="color:#993399;">standby</span></font></b> - Text to display when loading.</li>
<li><b><font color="#3366ff"><span style="color:#993399;">type</span></font></b> - The MIME type of the object . Required.</li>
</ul>
<p>When you run this example it is xhtml validated wheteher its transitional or strict.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/hemantsonker.wordpress.com/25/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/hemantsonker.wordpress.com/25/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hemantsonker.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hemantsonker.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hemantsonker.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hemantsonker.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hemantsonker.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hemantsonker.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hemantsonker.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hemantsonker.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hemantsonker.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hemantsonker.wordpress.com/25/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hemantsonker.wordpress.com&blog=789353&post=25&subd=hemantsonker&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://hemantsonker.wordpress.com/2008/02/05/validating-iframe/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/hemantsonker-128.jpg" medium="image">
			<media:title type="html">hemantsonker</media:title>
		</media:content>
	</item>
		<item>
		<title>MVC IN RAILS</title>
		<link>http://hemantsonker.wordpress.com/2007/10/06/mvc-in-rails/</link>
		<comments>http://hemantsonker.wordpress.com/2007/10/06/mvc-in-rails/#comments</comments>
		<pubDate>Sat, 06 Oct 2007 20:28:34 +0000</pubDate>
		<dc:creator>Hemant Sonker</dc:creator>
		
		<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://hemantsonker.wordpress.com/2007/10/06/mvc-in-rails/</guid>
		<description><![CDATA[MVC is a pattern for the architecture of a software application. It separates an
application into the following three components:

 models, for handling data and business logic


 controllers, for handling the user interface and application logic


views, for handling graphical user interface objects and presentation logic

This separation results in user requests being processed as follows:
1. The browser, on the [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>MVC is a pattern for the architecture of a software application. It separates an<br />
application into the following three components:</p>
<ul>
<li> <strong>models,</strong> for handling data and business logic</li>
</ul>
<ul>
<li> <strong>controllers</strong>, for handling the user interface and application logic</li>
</ul>
<ul>
<li><strong>views,</strong> for handling graphical user interface objects and presentation logic</li>
</ul>
<p>This separation results in user requests being processed as follows:<br />
1. The browser, on the client, sends a request for a page to the controller on the<br />
server.<br />
2. The controller retrieves the data it needs from the model in order to respond<br />
to the request.<br />
3. The controller renders the page and sends it to the view.<br />
4. The view sends the page back to the client for the browser to display.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/hemantsonker.wordpress.com/24/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/hemantsonker.wordpress.com/24/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hemantsonker.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hemantsonker.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hemantsonker.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hemantsonker.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hemantsonker.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hemantsonker.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hemantsonker.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hemantsonker.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hemantsonker.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hemantsonker.wordpress.com/24/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hemantsonker.wordpress.com&blog=789353&post=24&subd=hemantsonker&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://hemantsonker.wordpress.com/2007/10/06/mvc-in-rails/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/hemantsonker-128.jpg" medium="image">
			<media:title type="html">hemantsonker</media:title>
		</media:content>
	</item>
		<item>
		<title>Cake php</title>
		<link>http://hemantsonker.wordpress.com/2007/09/22/cake-php/</link>
		<comments>http://hemantsonker.wordpress.com/2007/09/22/cake-php/#comments</comments>
		<pubDate>Sat, 22 Sep 2007 13:29:31 +0000</pubDate>
		<dc:creator>Hemant Sonker</dc:creator>
		
		<category><![CDATA[cake php]]></category>

		<guid isPermaLink="false">http://hemantsonker.wordpress.com/2007/09/22/cake-php/</guid>
		<description><![CDATA[Cake is a rapid development framework for PHP which uses commonly known design patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. Our primary goal is to provide a structured framework that enables PHP users at all levels to rapidly develop robust web applications, without any loss to flexibility.

      [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Cake is a rapid development framework for PHP which uses commonly known design patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. Our primary goal is to provide a structured framework that enables PHP users at all levels to rapidly develop robust web applications, without any loss to flexibility.</p>
<ol>
<li>      <strong>Hot Features:</strong>
<ul>
<li>Model, View, Controller Architecture</li>
<li>View Helpers for AJAX, Javascript, HTML Forms and more</li>
<li>Built-in Validation</li>
<li>Application Scaffolding</li>
<li>Application and CRUD code generation via Bake</li>
<li>Access Control Lists</li>
<li>Data Sanitization</li>
<li>Security, Session, and Request Handling Components</li>
<li>Flexible View Caching</li>
<li>And More&#8230;</li>
</ul>
</li>
<li><strong>Active, Friendly Community</strong> - Just join our IRC channel to see who&#8217;s in. We&#8217;d love to help you get started.</li>
<li><strong>Flexible License</strong> - Cake is distributed under the MIT License</li>
<li><strong>Clean IP</strong> - Every line of code was written by the CakePHP development team</li>
<li><strong>Extremely Simple</strong> - Just look at the name&#8230;It&#8217;s Cake</li>
<li><strong>Rapid Development</strong> - Build apps faster than ever before .</li>
<li><strong>Best Practices</strong> - Cake is easy to understand and sets the industry standard in security authentication, and session handling, among other features.</li>
<li><strong>OO</strong> - Whether you are a seasoned object-oriented programmer or a beginner, you&#8217;ll feel comfortable</li>
<li><strong>No Configuration</strong> - Set-up the database and watch the magic begin</li>
</ol>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/hemantsonker.wordpress.com/23/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/hemantsonker.wordpress.com/23/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hemantsonker.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hemantsonker.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hemantsonker.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hemantsonker.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hemantsonker.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hemantsonker.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hemantsonker.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hemantsonker.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hemantsonker.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hemantsonker.wordpress.com/23/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hemantsonker.wordpress.com&blog=789353&post=23&subd=hemantsonker&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://hemantsonker.wordpress.com/2007/09/22/cake-php/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/hemantsonker-128.jpg" medium="image">
			<media:title type="html">hemantsonker</media:title>
		</media:content>
	</item>
		<item>
		<title>More stuffs on Ruby</title>
		<link>http://hemantsonker.wordpress.com/2007/09/21/more-stuffs-on-ruby/</link>
		<comments>http://hemantsonker.wordpress.com/2007/09/21/more-stuffs-on-ruby/#comments</comments>
		<pubDate>Fri, 21 Sep 2007 16:16:44 +0000</pubDate>
		<dc:creator>Hemant Sonker</dc:creator>
		
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://hemantsonker.wordpress.com/2007/09/21/more-stuffs-on-ruby/</guid>
		<description><![CDATA[Variables and identifers normally start with an alphabetic letter or a special modifier.

Local variables (&#38;pseudo-variables such as self and nil) begin with a lowrcase letter.
Global variables begin with dollar sign($)
Instance variables with an object begin with an at sign(@)
Class variables within a class begin with two at signs @@.
Constant begin with capital letters.

For Example

local variables: [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Variables and identifers normally start with an alphabetic letter or a special modifier.</p>
<ul>
<li>Local variables (&amp;pseudo-variables such as self and nil) begin with a lowrcase letter.</li>
<li>Global variables begin with dollar sign($)</li>
<li>Instance variables with an object begin with an at sign(@)</li>
<li>Class variables within a class begin with two at signs @@.</li>
<li>Constant begin with capital letters.</li>
</ul>
<p>For Example</p>
<ol>
<li>local variables: alpha_ident,gama</li>
<li>pseudo-variables:self,nil</li>
<li>Constants:LENGTH,Length</li>
<li>Instance variables:@sum,@not_const</li>
<li>Class variable:@@my_var</li>
<li>Global variable:$beta,$pi</li>
</ol>
<p>We will see some codes in ruby in the next post</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/hemantsonker.wordpress.com/22/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/hemantsonker.wordpress.com/22/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hemantsonker.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hemantsonker.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hemantsonker.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hemantsonker.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hemantsonker.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hemantsonker.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hemantsonker.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hemantsonker.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hemantsonker.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hemantsonker.wordpress.com/22/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hemantsonker.wordpress.com&blog=789353&post=22&subd=hemantsonker&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://hemantsonker.wordpress.com/2007/09/21/more-stuffs-on-ruby/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/hemantsonker-128.jpg" medium="image">
			<media:title type="html">hemantsonker</media:title>
		</media:content>
	</item>
		<item>
		<title>Scroll area with overflow in CSS</title>
		<link>http://hemantsonker.wordpress.com/2007/09/21/scroll-area-with-overflow-in-css/</link>
		<comments>http://hemantsonker.wordpress.com/2007/09/21/scroll-area-with-overflow-in-css/#comments</comments>
		<pubDate>Fri, 21 Sep 2007 13:15:19 +0000</pubDate>
		<dc:creator>Hemant Sonker</dc:creator>
		
		<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://hemantsonker.wordpress.com/2007/09/21/scroll-area-with-overflow-in-css/</guid>
		<description><![CDATA[Small Scrollable Areas
Scrollable areas on webpages has become increasingly popular after                being used by some leading design communities on internet. Scroll areas can be done with               [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><h2 class="codecomment">Small Scrollable Areas</h2>
<p>Scrollable areas on webpages has become increasingly popular after                being used by some leading design communities on internet. Scroll areas can be done with                a <em>textarea</em> or <em>iframe</em> tags, but a more frequent way of doing it is through using the abilities                that already lies within HTML and CSS for any block element. A normal block element like                &lt;div&gt; can be set to a certain height and width. What happens when the content of the                element exceeds the size given to it?</p>
<p>Enter the CSS property overflow.</p>
<ul>
<li><strong>overflow: auto</strong> - This will insert a scrollbar - horizontal, vertical or both only if                  the content in the block requires it. For practical purposes, this is probably the most                  useful for creating a scrolling area.</li>
<li><strong>overflow: scroll</strong> - This will will insert horizontal and vertical scrollbars. They will become active only if the content requires it.</li>
<li><strong>overflow: visible</strong> - This will cause the block to expand to view the content.</li>
<li><strong>overflow: hidden</strong> - This forces the block to only show content that fits in the block. Other content will be clipped and not hidden with no scrollbars.</li>
</ul>
<p>for example</p>
<p>&lt;!DOCTYPE html<br />
PUBLIC &#8220;-//W3C//DTD XHTML 1.0 Strict//EN&#8221;<br />
&#8220;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&#8221;&gt;<br />
&lt;html xmlns=&#8221;http://www.w3.org/1999/xhtml&#8221; xml:lang=&#8221;en&#8221; lang=&#8221;en&#8221;&gt;<br />
&lt;head&gt;<br />
&lt;meta http-equiv=&#8221;Content-Type&#8221; content=&#8221;text/html; charset=utf-8&#8243; /&gt;<br />
&lt;title&gt;scrolling&lt;/title&gt;<br />
&lt;style type=&#8221;text/css&#8221;&gt;<br />
&lt;!&#8211;<br />
div.scroll {<br />
height: 200px;<br />
width: 300px;<br />
overflow: auto;<br />
border: 1px solid #666;<br />
background-color: #ccc;<br />
padding: 8px;<br />
}<br />
&#8211;&gt;<br />
&lt;/style&gt;<br />
&lt;/head&gt;</p>
<p>&lt;body&gt;</p>
<p>&lt;div class=&#8221;scroll&#8221;&gt;<br />
&lt;p&gt;This is a scrolling are created with the CSS property overflow.&lt;/p&gt;<br />
&lt;p&gt;<br />
&lt;span style=&#8221;color: red;&#8221;&gt;This is red color&lt;/span&gt;<br />
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh.&lt;/p&gt;<br />
&lt;p&gt;This is a normal paragraph.<br />
&lt;span style=&#8221;font-weight: bold; font-size: 22px;&#8221;&gt;This is big bold text&lt;/span&gt;<br />
&lt;/p&gt;<br />
&lt;p&gt;This scrolling are can contain normal html like &lt;a href=&#8221;#&#8221;&gt;link&lt;/a&gt;&lt;/p&gt;<br />
&lt;p&gt;Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh.&lt;/p&gt;<br />
&lt;p&gt;Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh.&lt;/p&gt;<br />
&lt;/div&gt;</p>
<p>&lt;/body&gt;</p>
<p>&lt;/html&gt;<br />
save this code and run.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/hemantsonker.wordpress.com/21/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/hemantsonker.wordpress.com/21/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hemantsonker.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hemantsonker.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hemantsonker.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hemantsonker.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hemantsonker.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hemantsonker.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hemantsonker.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hemantsonker.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hemantsonker.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hemantsonker.wordpress.com/21/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hemantsonker.wordpress.com&blog=789353&post=21&subd=hemantsonker&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://hemantsonker.wordpress.com/2007/09/21/scroll-area-with-overflow-in-css/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/hemantsonker-128.jpg" medium="image">
			<media:title type="html">hemantsonker</media:title>
		</media:content>
	</item>
		<item>
		<title>Layer on layer with z-index (Layers)</title>
		<link>http://hemantsonker.wordpress.com/2007/09/21/layer-on-layer-with-z-index-layers/</link>
		<comments>http://hemantsonker.wordpress.com/2007/09/21/layer-on-layer-with-z-index-layers/#comments</comments>
		<pubDate>Fri, 21 Sep 2007 12:26:35 +0000</pubDate>
		<dc:creator>Hemant Sonker</dc:creator>
		
		<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://hemantsonker.wordpress.com/2007/09/21/layer-on-layer-with-z-index-layers/</guid>
		<description><![CDATA[CSS operates in three dimensions - height, width and depth. . In this, we will learn how to let different elements become layers. In short, this means the order of which the elements overlap one another.
For that purpose, you can assign each element a number (z-index). The system is that an element with a higher [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>CSS operates in three dimensions - height, width and depth. . In this, we will learn how to let different elements become layers. In short, this means the order of which the elements overlap one another.</p>
<p>For that purpose, you can assign each element a number (<code>z-index</code>). The system is that an element with a higher number overlaps an element with a lower number.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/hemantsonker.wordpress.com/20/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/hemantsonker.wordpress.com/20/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hemantsonker.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hemantsonker.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hemantsonker.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hemantsonker.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hemantsonker.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hemantsonker.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hemantsonker.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hemantsonker.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hemantsonker.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hemantsonker.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hemantsonker.wordpress.com&blog=789353&post=20&subd=hemantsonker&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://hemantsonker.wordpress.com/2007/09/21/layer-on-layer-with-z-index-layers/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/hemantsonker-128.jpg" medium="image">
			<media:title type="html">hemantsonker</media:title>
		</media:content>
	</item>
		<item>
		<title>Grouping of elements (span and div)</title>
		<link>http://hemantsonker.wordpress.com/2007/09/21/grouping-of-elements-span-and-div/</link>
		<comments>http://hemantsonker.wordpress.com/2007/09/21/grouping-of-elements-span-and-div/#comments</comments>
		<pubDate>Fri, 21 Sep 2007 12:16:05 +0000</pubDate>
		<dc:creator>Hemant Sonker</dc:creator>
		
		<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://hemantsonker.wordpress.com/2007/09/21/grouping-of-elements-span-and-div/</guid>
		<description><![CDATA[The elements &#60;span&#62; and &#60;div&#62; are used to group and structure a document and will often be used together with the attributes class and id.
We will take a closer look at the use of &#60;span&#62; and &#60;div&#62; as exactly these two HTML elements are of central importance with regards to CSS.
Grouping with &#60;span&#62;
The element &#60;span&#62; [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>The elements &lt;span&gt; and &lt;div&gt; are used to group and structure a document and will often be used together with the attributes class and id.</p>
<p>We will take a closer look at the use of &lt;span&gt; and &lt;div&gt; as exactly these two HTML elements are of central importance with regards to CSS.</p>
<h2><strong>Grouping with &lt;span&gt;</strong></h2>
<p>The element <code>&lt;span&gt;</code> is what you could call a neutral element which does not add anything to the document itself. But with CSS, <code>&lt;span&gt;</code> can be used to add visual features to specific parts of text in your documents.</p>
<p><strong>SPAN</strong> is an inline element, so it may be used just as elements such as <strong>EM</strong> and <strong>STRONG</strong> in HTML. The important distinction is that while <strong>EM</strong> and <strong>STRONG</strong> carry structural meaning, <strong>SPAN</strong> has no such meaning. It exists purely to apply style, and so has no effect when the style sheet is disabled.</p>
<p>For example</p>
<p><code>&lt;!DOCTYPE html<br />
PUBLIC &#8220;-//W3C//DTD XHTML 1.0 Strict//EN&#8221;<br />
&#8220;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&#8221;&gt;<br />
&lt;html xmlns=&#8221;http://www.w3.org/1999/xhtml&#8221; xml:lang=&#8221;en&#8221; lang=&#8221;en&#8221;&gt;<br />
&lt;head&gt;<br />
&lt;meta http-equiv=&#8221;Content-Type&#8221; content=&#8221;text/html; charset=utf-8&#8243; /&gt;<br />
&lt;title&gt;grouping with span&lt;/title&gt;<br />
&lt;style&gt;<br />
.abc{color:#ff0000;<br />
font-size:16px;}<br />
.xyz{color:#1E3593;<br />
font-size:10px;}</code></p>
<p>&lt;/style&gt;<br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
&lt;p&gt;This tutorial helps beginners learn the basics of creating Web sites with&lt;span class=&#8221;abc&#8221;&gt; HTML&lt;/span&gt; and &lt;span class=&#8221;abc&#8221;&gt;Cascading Style Sheets.&lt;/span&gt;&lt;/p&gt;<br />
&lt;p&gt;This is a test to define grouping of elements in &lt;span class=&#8221;xyz&#8221;&gt;span &lt;/span&gt;and &lt;span class=&#8221;xyz&#8221;&gt;div&lt;/span&gt;&lt;/p&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</p>
<p>save this code and run.you will see the effects.</p>
<p><strong>Grouping of  elements with div</strong></p>
<p>The <strong>DIV</strong> element is similar to the <strong>SPAN</strong> element in function, with the main difference being that <strong>DIV</strong> (short for &#8220;division&#8221;) is a block-level element. <strong>DIV</strong> may contain paragraphs, headings, tables, and even other divisions. This makes <strong>DIV</strong> ideal for marking different classes of containers, such as a chapter, abstract, or note</p>
<p>Aside from this difference, the grouping with <code>&lt;div&gt;</code> works in more or less the same way. Let us take a look at an example</p>
<p>&lt;!DOCTYPE html<br />
PUBLIC &#8220;-//W3C//DTD XHTML 1.0 Strict//EN&#8221;<br />
&#8220;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&#8221;&gt;<br />
&lt;html xmlns=&#8221;http://www.w3.org/1999/xhtml&#8221; xml:lang=&#8221;en&#8221; lang=&#8221;en&#8221;&gt;<br />
&lt;head&gt;<br />
&lt;meta http-equiv=&#8221;Content-Type&#8221; content=&#8221;text/html; charset=utf-8&#8243; /&gt;<br />
&lt;title&gt;grouping with span&lt;/title&gt;<br />
&lt;style&gt;<br />
#democrats{color:#ff0000;<br />
font-size:16px;}<br />
#republicans{color:#1E3593;<br />
font-size:10px;}</p>
<p>&lt;/style&gt;</p>
<p>&lt;/head&gt;</p>
<p>&lt;body&gt;</p>
<p>&lt;div id=&#8221;democrats&#8221;&gt;<br />
&lt;ul&gt;<br />
&lt;li&gt;Franklin D. Roosevelt&lt;/li&gt;<br />
&lt;li&gt;Harry S. Truman&lt;/li&gt;<br />
&lt;li&gt;John F. Kennedy&lt;/li&gt;<br />
&lt;li&gt;Lyndon B. Johnson&lt;/li&gt;<br />
&lt;li&gt;Jimmy Carter&lt;/li&gt;<br />
&lt;li&gt;Bill Clinton&lt;/li&gt;<br />
&lt;/ul&gt;<br />
&lt;/div&gt;</p>
<p>&lt;div id=&#8221;republicans&#8221;&gt;<br />
&lt;ul&gt;<br />
&lt;li&gt;Dwight D. Eisenhower&lt;/li&gt;<br />
&lt;li&gt;Richard Nixon&lt;/li&gt;<br />
&lt;li&gt;Gerald Ford&lt;/li&gt;<br />
&lt;li&gt;Ronald Reagan&lt;/li&gt;<br />
&lt;li&gt;George Bush&lt;/li&gt;<br />
&lt;li&gt;George W. Bush&lt;/li&gt;<br />
&lt;/ul&gt;<br />
&lt;/div&gt;</p>
<p>&lt;/body&gt;</p>
<p>&lt;/html&gt;</p>
<p>Hope u would  have come to know about  the use of div and span.</p>
<p>if any queries ,please comment on it.i will get back to you.</p>
<p><code></code></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/hemantsonker.wordpress.com/19/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/hemantsonker.wordpress.com/19/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hemantsonker.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hemantsonker.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hemantsonker.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hemantsonker.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hemantsonker.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hemantsonker.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hemantsonker.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hemantsonker.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hemantsonker.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hemantsonker.wordpress.com/19/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hemantsonker.wordpress.com&blog=789353&post=19&subd=hemantsonker&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://hemantsonker.wordpress.com/2007/09/21/grouping-of-elements-span-and-div/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/hemantsonker-128.jpg" medium="image">
			<media:title type="html">hemantsonker</media:title>
		</media:content>
	</item>
		<item>
		<title>Deprecated Elements in HTML</title>
		<link>http://hemantsonker.wordpress.com/2007/09/21/deprecated-elements-in-html/</link>
		<comments>http://hemantsonker.wordpress.com/2007/09/21/deprecated-elements-in-html/#comments</comments>
		<pubDate>Fri, 21 Sep 2007 11:17:45 +0000</pubDate>
		<dc:creator>Hemant Sonker</dc:creator>
		
		<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://hemantsonker.wordpress.com/2007/09/21/deprecated-elements-in-html/</guid>
		<description><![CDATA[According to the W3C standrds, they have identified the following as depreciated tags.These tags if used may differ in differnt browsers like firefox,safari,opera,aol,IE6 ,IE 7 etc.


Deprecated Tags


&#60;applet&#62;
use &#60;object&#62; tag (caution, not well supported yet)


&#60;basefont&#62;
use style sheets


&#60;blockquote&#62;
&#160;


&#60;center&#62;
use style sheets


&#60;dir&#62;
use &#60;ul&#62;


&#60;em&#62;
use style sheets


&#60;font&#62;
use style sheets


&#60;isindex&#62;
use &#60;input&#62;


&#60;listing&#62;
use &#60;pre&#62;


&#60;menu&#62;
use &#60;ul&#62;


&#60;plaintext&#62;
use &#60;pre&#62;


&#60;s&#62;
use &#60;del&#62;


&#60;strike&#62;
use &#60;del&#62;


&#60;strong&#62;
use style sheets


&#60;u&#62;
use style sheets


&#60;xmp&#62;
use &#60;pre&#62;


addition to [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>According to the W3C standrds, they have identified the following as depreciated tags.These tags if used may differ in differnt browsers like firefox,safari,opera,aol,IE6 ,IE 7 etc.</p>
<table summary="Proceed to section" border="0" cellpadding="0" cellspacing="0">
<tr>
<th colspan="2">Deprecated Tags</th>
</tr>
<tr>
<td align="left">&lt;applet&gt;</td>
<td align="left">use &lt;object&gt; tag (caution, not well supported yet)</td>
</tr>
<tr>
<td align="left">&lt;basefont&gt;</td>
<td align="left">use style sheets</td>
</tr>
<tr>
<td align="left">&lt;blockquote&gt;</td>
<td align="left">&nbsp;</td>
</tr>
<tr>
<td align="left">&lt;center&gt;</td>
<td align="left">use style sheets</td>
</tr>
<tr>
<td align="left">&lt;dir&gt;</td>
<td align="left">use &lt;ul&gt;</td>
</tr>
<tr>
<td align="left">&lt;em&gt;</td>
<td align="left">use style sheets</td>
</tr>
<tr>
<td align="left">&lt;font&gt;</td>
<td align="left">use style sheets</td>
</tr>
<tr>
<td align="left">&lt;isindex&gt;</td>
<td align="left">use &lt;input&gt;</td>
</tr>
<tr>
<td align="left">&lt;listing&gt;</td>
<td align="left">use &lt;pre&gt;</td>
</tr>
<tr>
<td align="left">&lt;menu&gt;</td>
<td align="left">use &lt;ul&gt;</td>
</tr>
<tr>
<td align="left">&lt;plaintext&gt;</td>
<td align="left">use &lt;pre&gt;</td>
</tr>
<tr>
<td align="left">&lt;s&gt;</td>
<td align="left">use &lt;del&gt;</td>
</tr>
<tr>
<td align="left">&lt;strike&gt;</td>
<td align="left">use &lt;del&gt;</td>
</tr>
<tr>
<td align="left">&lt;strong&gt;</td>
<td align="left">use style sheets</td>
</tr>
<tr>
<td align="left">&lt;u&gt;</td>
<td align="left">use style sheets</td>
</tr>
<tr>
<td align="left">&lt;xmp&gt;</td>
<td align="left">use &lt;pre&gt;</td>
</tr>
</table>
<p>addition to tags, several attributes (modifiers to tags which set        specific behaviors) are depreciated. These are listed in the table below.</p>
<p align="center">
<table summary="Proceed to section" border="0" cellpadding="0" cellspacing="0">
<tr>
<th>Deprecated Attributes</th>
</tr>
<tr>
<td align="left">align</td>
</tr>
<tr>
<td align="left">alink</td>
</tr>
<tr>
<td align="left">background</td>
</tr>
<tr>
<td align="left">bgcolor</td>
</tr>
<tr>
<td align="left">color</td>
</tr>
<tr>
<td align="left">hspace</td>
</tr>
<tr>
<td align="left">link</td>
</tr>
<tr>
<td align="left">size</td>
</tr>
<tr>
<td align="left">text</td>
</tr>
<tr>
<td align="left">type</td>
</tr>
<tr>
<td align="left">vlink</td>
</tr>
<tr>
<td align="left">vspace</td>
</tr>
</table>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/hemantsonker.wordpress.com/18/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/hemantsonker.wordpress.com/18/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hemantsonker.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hemantsonker.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hemantsonker.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hemantsonker.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hemantsonker.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hemantsonker.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hemantsonker.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hemantsonker.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hemantsonker.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hemantsonker.wordpress.com/18/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hemantsonker.wordpress.com&blog=789353&post=18&subd=hemantsonker&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://hemantsonker.wordpress.com/2007/09/21/deprecated-elements-in-html/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/hemantsonker-128.jpg" medium="image">
			<media:title type="html">hemantsonker</media:title>
		</media:content>
	</item>
		<item>
		<title>Differneces between XHTML and HTML</title>
		<link>http://hemantsonker.wordpress.com/2007/09/21/differneces-between-xhtml-and-html/</link>
		<comments>http://hemantsonker.wordpress.com/2007/09/21/differneces-between-xhtml-and-html/#comments</comments>
		<pubDate>Fri, 21 Sep 2007 11:08:35 +0000</pubDate>
		<dc:creator>Hemant Sonker</dc:creator>
		
		<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://hemantsonker.wordpress.com/2007/09/21/differneces-between-xhtml-and-html/</guid>
		<description><![CDATA[HTML is rapidly being replaced by XHTML. 	The differences are very minor, but the results of switching can be worth the effort. 	The primary benefit is that XHTML is more widely accepted in non &#8220;computer&#8221; 	devices like cell phone, palm devices and other scaled down browsers. 	This is commonly called portability between devices.
XHTML is also [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p class="h1">HTML is rapidly being replaced by XHTML. 	The differences are very minor, but the results of switching can be worth the effort. 	The primary benefit is that XHTML is more widely accepted in non &#8220;computer&#8221; 	devices like cell phone, palm devices and other scaled down browsers. 	This is commonly called portability between devices.<br />
XHTML is also said to be extensible, which is the fancy way of saying the new tags 	can be added without a new document type declaration.</p>
<p class="h1"> 	<strong>Firstly, what are the differences:</strong></p>
<ul>
<li>the tags in the page <strong>MUST</strong> be in lower case, so instead of &lt;IMG src=&#8221;resource/frankisboat.gif&#8221; WIDTH=&#8221;389&#8243; HEIGHT=&#8221;227&#8243; BORDER=&#8221;0&#8243; ALT=&#8221;boat&#8221;&gt;, as we would do in HTML, we instead use: &lt;img src=&#8221;resource/frankisboat.gif&#8221; width=&#8221;389&#8243; height=&#8221;227&#8243; border=&#8221;0&#8243; alt=&#8221;boat&#8221; /&gt;</li>
<li>all tags must close, either by using a corresponding closing tag which has a slash, like paragraph ( &lt;p&gt;&lt;/p&gt; ) for example, or some tags are self closing like the above img src tag and line break ( &lt;br /&gt; ). In HTML, many of these tags were simply left open.</li>
<li>all tags must be properly nested, so if you start tag &#8220;a&#8221; and then start tag &#8220;b&#8221;, you must close tag &#8220;b&#8221; before you close tag &#8220;a&#8221;</li>
<li>some tags which were previously allowed are no longer allowed, although see the discussion below of document type declarations (DTD&#8217;s).</li>
<li>all attributes must also be lowercase</li>
<li>all values for attributes must be encased in single or double quotes</li>
<li>all attributes must be long form, not abbreviated, for example: disabled=&#8221;true&#8221; in XHTML vs DISABLED in HTML</li>
<li>structure must be separated from content. So for example, the &lt;p&gt; tag is a content tag (paragraph) so you can&#8217;t put a table in it for example, because a table is a format construct. You can however put the &lt;p&gt; tag inside &lt;td&gt; &lt;/td&gt; tags with no problem because the content goes in the construct, not the other way around.
<p class="h1"> The first thing you will notice if you look at the source of an XHTML document is that the first line is a document type declaration (DTD also called the <strong>DOCTYPE</strong>). There are three that are used, strict (that will only validate if you have no deprecated tags), transitional (which will still validate with deprecated tags) and frameset (which is for a page that &#8220;sets&#8221; up &#8220;frames&#8221;). Oddly enough, even though all tags in XHTML are lower case, parts of the DTD must be in upper case. The three DTD&#8217;s look like this:</li>
<li>Strict -<br />
&lt;!DOCTYPE html PUBLIC &#8220;-//W3C//DTD XHTML 1.0 Strict//EN&#8221; &#8220;DTD/xhtml1-strict.dtd&#8221;&gt;</li>
<li>Transitional -<br />
&lt;!DOCTYPE html PUBLIC &#8220;-//W3C//DTD XHTML 1.0 Transitional//EN&#8221; &#8220;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#8221;&gt;</li>
<li>Frameset -<br />
&lt;!DOCTYPE html PUBLIC &#8220;-//W3C//DTD XHTML 1.0 Frameset//EN&#8221; &#8220;DTD/xhtml1-frameset.dtd&#8221;&gt;</li>
</ul>
<p><strong>Depreciated tags</strong> in XHTML (they are also depreciated in HTML 4), and at least be aware of               the tags that are <strong>&#8220;depreciated&#8221;</strong>, tags like: &lt;center&gt;,  &lt;u&gt; and  &lt;font&gt;.               Also be aware that some tag attributes are depreciated, like &#8216;align&#8217; for example.<br />
These tags are depreciated because what they do (or did) can now be better or more easily done with CSS.</p>
<p><strong>The Difference between strict and transitional HTML / XHTML:</strong><br />
In short, transitional is a forgiving form of doctype as it allows depreciated tags and attributes to pass validation, and the browser will do its best to display the page as you wanted it. You must still have properly nested lowercase tags to get validation though.</p>
<p>The strict doctype is just that, all the depreciated tags and attributes will fail to validate under a strict doctype and may well display incorrectly as well.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/hemantsonker.wordpress.com/17/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/hemantsonker.wordpress.com/17/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hemantsonker.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hemantsonker.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hemantsonker.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hemantsonker.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hemantsonker.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hemantsonker.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hemantsonker.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hemantsonker.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hemantsonker.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hemantsonker.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hemantsonker.wordpress.com&blog=789353&post=17&subd=hemantsonker&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://hemantsonker.wordpress.com/2007/09/21/differneces-between-xhtml-and-html/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/hemantsonker-128.jpg" medium="image">
			<media:title type="html">hemantsonker</media:title>
		</media:content>
	</item>
	</channel>
</rss>