<?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>PiticStyle &#187; XHTML</title>
	<atom:link href="http://www.piticstyle.com/category/xhtml/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.piticstyle.com</link>
	<description>Articles, Tutorials about HTML, CSS, FLASH, PHP, MySQL, Photoshop, SEO, Tools for Webmasters, Media</description>
	<lastBuildDate>Thu, 02 Sep 2010 12:45:10 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>HTML vs. XHTML</title>
		<link>http://www.piticstyle.com/2007/10/04/html-vs-xhtml/</link>
		<comments>http://www.piticstyle.com/2007/10/04/html-vs-xhtml/#comments</comments>
		<pubDate>Thu, 04 Oct 2007 20:10:12 +0000</pubDate>
		<dc:creator>PiticStyle</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Pictures]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[XHTML]]></category>
		<category><![CDATA[atributes]]></category>
		<category><![CDATA[div]]></category>
		<category><![CDATA[elements]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[table]]></category>
		<category><![CDATA[tags]]></category>
		<category><![CDATA[w3c]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[web languages]]></category>
		<category><![CDATA[world wide web consortium]]></category>

		<guid isPermaLink="false">http://www.piticstyle.com/?p=469</guid>
		<description><![CDATA[vs
XHTML 1.0 is a reformulation of HTML 4.0. What this really means is that learning XHTML is basically the same as learning HTML. The main difference is a few simple rules &#8211; as XHTML is more strict than standard HTML.
[1] Stricter adherence to the HTML specification
Many browsers are very lax in how they interpret HTML. [...]]]></description>
			<content:encoded><![CDATA[<p><img SRC="http://i23.tinypic.com/fdfs4m.png" BORDER="0" />vs<img SRC="http://i22.tinypic.com/juxnur.png" BORDER="0" /></p>
<p>XHTML 1.0 is a reformulation of HTML 4.0. What this really means is that learning XHTML is basically the same as learning HTML. The main difference is a few simple rules &#8211; as XHTML is more strict than standard HTML.</p>
<p>[1] <u>Stricter adherence to the HTML specification</u><br />
Many browsers are very lax in how they interpret HTML. This leads to incongruities in how the pages are displayed, and XHTML doesn’t allow that. The best way to correct this is to use an XHTML validator such as HTML Tidy.</p>
<p>[2] <u>Write well formed documents</u><br />
What this generally means is avoiding overlapping elements. The following nested code is acceptable: <strong>&lt;p&gt;Paragraph &lt;em&gt;emphasized&lt;/em&gt;&lt;/p&gt;</strong> because the &lt;em&gt; tag is opened and closed within the &lt;p&gt; tag. However, this is not allowed: <strong>&lt;p&gt;Paragraph &lt;em&gt;emphasized&lt;/p&gt;&lt;/em&gt;</strong> because the &lt;em&gt; tag overlaps the &lt;p&gt; tag.<br />
<span id="more-469"></span></p>
<p>[3] <u>Write tags and attributes in lowercase</u><br />
XHTML is a case-sensitive markup language, so &lt;LI&gt; and &lt;li&gt; are potentially two different elements.</p>
<p>[4] <u>End tags are required</u><br />
In HTML, some tags which actually contain elements do not require the end tag.<br />
The most common of these is the &lt;p&gt; tag. XHTML requires that the &lt;/p&gt; tag be used. For singleton tags, such as &lt;br&gt; you should include a trailing slash in the tag itself, e.g. &lt;br /&gt;</p>
<p>[5] <u>Attributes must be quoted and include values</u><br />
What this means is that non-quoted attributes such as &lt;table border=3&gt; are invalid. And attributes which used to stand alone, must now be written as name=”value” pairs. For example &lt;br noshade=”noshade” /&gt;</p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-2812146301598422";
google_ad_width = 336;
google_ad_height = 280;
google_ad_format = "336x280_as";
google_ad_type = "text";
google_ad_channel = "";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "3D81EE";
google_color_text = "000000";
google_color_url = "000000";
//-->
</script><br />
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.piticstyle.com/2007/10/04/html-vs-xhtml/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
	</channel>
</rss>
