<?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>Psd2Xhml&#187; Welcome to psd2xhtml expert</title>
	<atom:link href="http://www.psd2xhtmlexpert.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.psd2xhtmlexpert.com</link>
	<description>Welcome to Psd2Xhtml</description>
	<lastBuildDate>Tue, 23 Feb 2010 11:45:47 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>HTML Versus XHTML</title>
		<link>http://www.psd2xhtmlexpert.com/xhtml/html-versus-xhtml/</link>
		<comments>http://www.psd2xhtmlexpert.com/xhtml/html-versus-xhtml/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 13:37:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://localhost/wppsd2xhtml/?p=69</guid>
		<description><![CDATA[Back to Past [History]!
Code name Wilbur, for HTML 3.2 is start of HTML at W3C, which was followed a few years later by HTML 4.0, then HTML 4.01. HTML 4.01 and now HTML 5 is the last version of HTML, and is also the final W3C specification to define the semantics of markup. From HTML [...]]]></description>
			<content:encoded><![CDATA[<h4>Back to Past [History]!</h4>
<p>Code name Wilbur, for HTML 3.2 is start of HTML at W3C, which was followed a few years later by HTML 4.0, then HTML 4.01. HTML 4.01 and now HTML 5 is the last version of HTML, and is also the final W3C specification to define the semantics of markup. From HTML 3.2 to HTML 4.01, the language has improved a great deal, focusing on such issues as:</p>
<ul>
<li>Separation of presentation from structure</li>
<li>Improved accessibility features</li>
<li>Improve internationalization features</li>
<li>Improved document rendering</li>
</ul>
<p>XHTML 1.0 was created shortly after HTML 4.01 to help the transition of hypertext to a new generation of mark-up languages for text. XHTML 1.1 is an additional step toward a more flexible version of hypertext with the full benefits of XML architecture and integration of different technologies. Note that XHTML 1.1 has slighly improved the semantics of HTML 4.01 by including the Ruby module, used in particular languages like Japanese scripts (read the <a href="http://www.w3.org/TR/ruby">Ruby Specification</a> for more information). For practical purposes, the discussion here will focus on HTML 4.01 and XHTML 1.0.<br />
<span id="more-69"></span></p>
<h4>The semantics</h4>
<p>When we refer to the “semantics” of a language, we’re referring to the meaning of a given tag. HTML 4.01 and XHTML 1.0 assign the same semantics to their elements and attributes. Lets have an example, an element <code>address</code> has exactly the same meaning in HTML 4.01 and XHTML 1.0: they’re both used to mark up addresses. <ins datetime="2007-02-07T10:00" cite="http://www.w3.org/TR/html401/struct/global.html#h-7.5.6">(Clarification: </ins><code><ins datetime="2007-02-07T10:00" cite="http://www.w3.org/TR/html401/struct/global.html#h-7.5.6">address</ins></code><ins datetime="2007-02-07T10:00" cite="http://www.w3.org/TR/html401/struct/global.html#h-7.5.6"> </ins><ins datetime="2007-02-07T10:00" cite="http://www.w3.org/TR/html401/struct/global.html#h-7.5.6">is used to mark up contact information for a document.)</ins> Only bits of the syntax varies between the two languages. For example :</p>
<h4>HTML 4.01 example</h4>
<pre>&lt;img alt="web design for psd2xhtml"</pre>
<pre>   src="/images/design_psd2xhtml.jpg"&gt;</pre>
<pre>&lt;p <strong>lang="fr"</strong>&gt;Je</pre>
<pre>levai la tête pour regarder les</pre>
<pre>étoiles.  Leur vue apaisa peu</pre>
<pre>à peu les battements de mon</pre>
<pre>coeur.&lt;/p&gt;</pre>
<pre>&lt;p&gt;&lt;cite&gt;Chroniques</pre>
<pre>de l'oiseau à ressort&lt;/cite&gt;</pre>
<pre> - &lt;cite&gt;Haruki</pre>
<pre> Murakami&lt;/cite&gt;&lt;/p&gt;</pre>
<h4>XHTML 1.0 example</h4>
<pre>&lt;img alt="web design for psd2xhtml"</pre>
<pre>   src="/images/design_psd2xhtml.jpg" <strong>/</strong>&gt;</pre>
<pre>&lt;p <strong>xml:lang="fr"</strong>&gt;Je</pre>
<pre>levai la tête pour regarder les</pre>
<pre> étoiles. Leur vue apaisa peu</pre>
<pre> à peu les battements de mon</pre>
<pre> coeur.&lt;/p&gt;</pre>
<pre>&lt;p&gt;&lt;cite&gt;Chroniques</pre>
<pre>de l'oiseau à ressort&lt;/cite&gt;</pre>
<pre> - &lt;cite&gt;Haruki</pre>
<pre> Murakami&lt;/cite&gt;&lt;/p&gt;</pre>
<p>There are only few differences between the syntax, They are still very similar.</p>
<p>Both languages come in three flavors: Frameset, Transitional and Strict. The “strict” version is strongly recommended by the W3C for regular documents. Using strict versions removes problematic elements as well as forcing a significant separation between the structure of your document and its presentation. Transitional versions allow deprecated elements to assist those implementers to upgrade smoothly their software or their content.</p>
<h4>Using the right tool for the job</h4>
<p>Is there any advantage to using HTML 4.01 over XHTML 1.0? There is no simple answer and the benefits you will gain are tied to how you’re using the language in a given situation.</p>
<p>Switching from HTML 4.01 to XHTML 1.0 brings almost no direct benefits for the visitors of your Web site; still, there are several good reasons for Web authors to make the switch:</p>
<h5>XHTML is easier to maintain</h5>
<p>XML syntax rules are far more rigorous than HTML. As a result, XHTML makes authors work more precisely, having to address issues such as:</p>
<ul>
<li>all elements and attribute names must appear in lower case</li>
<li>all attribute values must be quoted</li>
<li>non-Empty Elements require a closing tag</li>
<li>empty elements are terminated using a space and a trailing slash</li>
<li>no attribute minimization is allowed</li>
<li>in strict XHTML, all inline elements <em>must</em> be contained in a block element</li>
</ul>
<p>In HTML, case, quotes, termination of many elements and uncontained elements are allowed and commonplace. The margin for errors in HTML is much broader than in XHTML, where the rules are very clear. As a result, XHTML is easier to author and to maintain, since the structure is more apparent and problem syntax is easier to spot.</p>
<h5>XHTML is XSL ready</h5>
<p>As you are probably aware by now, XHTML 1.0 is the reformulation of HTML 4.01 in XML. Therefore, XHTML documents are hypertext documents <strong>and</strong> XML documents. A powerful technology has been developed at W3C to manipulate and transform XML documents: the Extensible Style sheet Language Transformations (<acronym>XSLT</acronym>). This technology is tremendously useful to create various new resources automatically from an XHTML document. For example</p>
<ul>
<li>You can create a table of contents for a long document</li>
<li>Get a quick overview of a page by listing its languages and structural outlines! See the <a href="http://www.w3.org/2000/06/webdata/xslt?xmlfile=http://cgi.w3.org/cgi-bin/tidy-if?docAddr=http://www.w3.org/QA/2003/09/html-xhtml.html&amp;xslfile=http://www.w3.org/2002/08/extract-semantic.xsl&amp;">Semantics extractor for this page</a>, created by W3C QA Working Group member <a href="http://www.w3.org/People/dom/">Dominique Hazaël-Massieux</a></li>
<li>You can provide a printable version of your documents by using the XSL-FO features of XSL</li>
<li>You can produce an RSS feed directly from your page, check out the <a href="http://www.w3.org/QA/Overview.rss">QA RSS feed</a> to see this in action</li>
</ul>
<h5>XHTML is easier to teach and to learn</h5>
<p>The syntax rules defined by XML are far more consistent than those found in HTML and therefore easier to explain than the SGML rules on which HTML is based.</p>
<h5>XHTML is ready for the future</h5>
<p>When the new version of XHTML becomes a recommendation, XHTML 1.0 documents will be easily upgradable to this new version, to allow to take advantages of its exciting new features. It’s likely that an XSLT style sheet will be available by then to help you move your XHTML 1.0 (strict) documents to XHTML 2.0 documents.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.psd2xhtmlexpert.com/xhtml/html-versus-xhtml/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
