<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Expressing IT</title>
	
	<link>http://developer.expressionz.in/blogs</link>
	<description>User Interface : just another, but a serious developers weblog</description>
	<lastBuildDate>Tue, 16 Aug 2011 05:23:41 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/ExpressingIT" /><feedburner:info uri="expressingit" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><creativeCommons:license>http://creativecommons.org/licenses/by/2.0/</creativeCommons:license><image><link>http://creativecommons.org/licenses/by/2.0/</link><url>http://creativecommons.org/images/public/somerights20.gif</url><title>Some Rights Reserved</title></image><feedburner:emailServiceId>ExpressingIT</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>The question of CSS hack</title>
		<link>http://feedproxy.google.com/~r/ExpressingIT/~3/HwZgwJS_zKA/</link>
		<comments>http://developer.expressionz.in/blogs/2011/07/07/the-question-of-css-hack/#comments</comments>
		<pubDate>Thu, 07 Jul 2011 09:12:13 +0000</pubDate>
		<dc:creator>Nik</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[FF Hacks]]></category>
		<category><![CDATA[IE Hacks]]></category>

		<guid isPermaLink="false">http://developer.expressionz.in/blogs/?p=261</guid>
		<description><![CDATA[Had read this in some blog &#8230; thought it was nice to catalog this for future ref &#8230;. also could be an important interview question that you would asked some day &#8230;. Write a snippet of CSS that will display a paragraph in blue in older browsers, red in newer browsers, green in IE6 and [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fdeveloper.expressionz.in%2Fblogs%2F2011%2F07%2F07%2Fthe-question-of-css-hack%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fdeveloper.expressionz.in%2Fblogs%2F2011%2F07%2F07%2Fthe-question-of-css-hack%2F&amp;source=nikhild&amp;style=normal&amp;hashtags=FF+Hacks,IE+Hacks&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Had read this in some blog &#8230; thought it was nice to catalog this for future ref &#8230;. also could be an important interview question that you would asked some day &#8230;.</p>
<p><strong>Write a snippet of CSS that will display a paragraph in blue in older browsers, red in newer browsers, green in IE6 and black in IE7</strong></p>
<p><code>#content p{color:blue}<br />
html&gt;body #content p {color:red}<br />
* html #content p{color:green}<br />
html&gt;body #content p {*color:black;}</code></p>
<img src="http://feeds.feedburner.com/~r/ExpressingIT/~4/HwZgwJS_zKA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://developer.expressionz.in/blogs/2011/07/07/the-question-of-css-hack/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://developer.expressionz.in/blogs/2011/07/07/the-question-of-css-hack/</feedburner:origLink></item>
		<item>
		<title>IE Javascript Error : Object doesn’t support this property or method</title>
		<link>http://feedproxy.google.com/~r/ExpressingIT/~3/ecOtpnEUpsk/</link>
		<comments>http://developer.expressionz.in/blogs/2011/02/18/ie-javascript-error-object-doesn%e2%80%99t-support-this-property-or-method/#comments</comments>
		<pubDate>Fri, 18 Feb 2011 05:48:39 +0000</pubDate>
		<dc:creator>Nikhil</dc:creator>
				<category><![CDATA[Browser Quirks]]></category>
		<category><![CDATA[JavasScript]]></category>
		<category><![CDATA[IE Fixes]]></category>

		<guid isPermaLink="false">http://developer.expressionz.in/blogs/?p=244</guid>
		<description><![CDATA[ If  I were to write the script, I wouldn't have got this error at all , as do not mix my variable names with field Ids:).]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fdeveloper.expressionz.in%2Fblogs%2F2011%2F02%2F18%2Fie-javascript-error-object-doesn%25e2%2580%2599t-support-this-property-or-method%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fdeveloper.expressionz.in%2Fblogs%2F2011%2F02%2F18%2Fie-javascript-error-object-doesn%25e2%2580%2599t-support-this-property-or-method%2F&amp;source=nikhild&amp;style=normal&amp;hashtags=IE+Fixes&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Had this strange issue , where a piece of Javascript worked fine in all the browser  ans as usual bar IE <img src='http://developer.expressionz.in/blogs/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  &#8230;  Simple it was, but since the script was not written by me, It took a while to debug this &#8220;Object doesn’t support this property or method&#8221; error that only IE was throwing up. Probably! If  I were to write the script, I wouldn&#8217;t have got this error at all , as do not mix my variable names with field Ids:).</p>
<p><strong>Problem: Object doesn’t support this property or method (on line 3)</strong></p>
<pre><code>
function funzoneSP(){
    document.getElementById('video_id').style.visibility="hidden";
    shortdesc = document.getElementById('shortdesc').value;
    ....
}</code></pre>
<p><strong>Solution:</strong><br />
The error is generated on the thirdrow in the example above(Line 3&#8230; &#8220;shortdesc = document.getE&#8230;.&#8221;). I tried all sort of stupid things , that I dont is even worth the mention here and finally guess what!  just changing the <strong><span style="color: #ff0000;">shortdesc </span></strong>var to something else got rid of the error. Basically! The variable name had to different from the fieldID</p>
<img src="http://feeds.feedburner.com/~r/ExpressingIT/~4/ecOtpnEUpsk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://developer.expressionz.in/blogs/2011/02/18/ie-javascript-error-object-doesn%e2%80%99t-support-this-property-or-method/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://developer.expressionz.in/blogs/2011/02/18/ie-javascript-error-object-doesn%e2%80%99t-support-this-property-or-method/</feedburner:origLink></item>
		<item>
		<title>Display Static HTML page in Android (Eclipse) emulator</title>
		<link>http://feedproxy.google.com/~r/ExpressingIT/~3/NHel3L2XHtA/</link>
		<comments>http://developer.expressionz.in/blogs/2010/12/28/display-static-html-page-in-android-eclipse-emulator/#comments</comments>
		<pubDate>Tue, 28 Dec 2010 14:35:55 +0000</pubDate>
		<dc:creator>Nikhil</dc:creator>
				<category><![CDATA[Android]]></category>

		<guid isPermaLink="false">http://developer.expressionz.in/blogs/?p=239</guid>
		<description><![CDATA[How to show static HTML page in android emulator? For a few hours now I have been looking at solutions to run/test my static HTMLs in the Eclipse/Android emulator.  Have not been totally successful yet.... what I mean by "Totally" is the HTML gets loaded OK but all the CSS and JS, i.e. the visual expression is  not seen. In developer words, the CSS is not applied to the page...]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fdeveloper.expressionz.in%2Fblogs%2F2010%2F12%2F28%2Fdisplay-static-html-page-in-android-eclipse-emulator%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fdeveloper.expressionz.in%2Fblogs%2F2010%2F12%2F28%2Fdisplay-static-html-page-in-android-eclipse-emulator%2F&amp;source=nikhild&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>For a few hours now I have been looking at solutions to run/test my static HTMLs in the Eclipse/Android emulator.  Have not been totally successful yet&#8230;. what I mean by &#8220;Totally&#8221; is the HTML gets loaded OK but all the CSS and JS, i.e. the visual expression is  not seen. In developer words, the CSS is not applied to the page&#8230;</p>
<p>Thought it would a few   fellow newbie Android  UI developers , If  I noted the snippet down that I used to  display the  HTML .</p>
<p>AND Android gurus, PLEASE add your comments to help us novices in mobile application UI developers further!</p>
<p>Sorry! but Im assuming that you  know how to create a  Android Mobile Application in Eclipse.</p>
<p><strong>Create this as your activity; This will read the file &#8216;index.html&#8217; from your project assets/ folder.</strong></p>
<pre><code>public class Test extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        WebView webview = new WebView(this);
        setContentView(webview);
        try {
            InputStream fin = getAssets().open("index.html");
                byte[] buffer = new byte[fin.available()];
                fin.read(buffer);
                fin.close();
                webview.loadData(new String(buffer), "text/html", "UTF-8");
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}</code></pre>
<img src="http://feeds.feedburner.com/~r/ExpressingIT/~4/NHel3L2XHtA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://developer.expressionz.in/blogs/2010/12/28/display-static-html-page-in-android-eclipse-emulator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://developer.expressionz.in/blogs/2010/12/28/display-static-html-page-in-android-eclipse-emulator/</feedburner:origLink></item>
		<item>
		<title>Re-Cycling CSS : A Look At CSS Frameworks</title>
		<link>http://feedproxy.google.com/~r/ExpressingIT/~3/ImqedJRmkUA/</link>
		<comments>http://developer.expressionz.in/blogs/2010/05/20/re-cycling-css-a-look-at-css-frameworks/#comments</comments>
		<pubDate>Thu, 20 May 2010 10:10:21 +0000</pubDate>
		<dc:creator>Nikhil</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[User Interface Desgin]]></category>
		<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[CSS Framework]]></category>

		<guid isPermaLink="false">http://developer.expressionz.in/blogs/?p=215</guid>
		<description><![CDATA[Re-Cycling is Buzzword and In Web Development it means no different.  It conserves energy, in terms of effort!

Over years of writing CSS and creating HTML from designs,  I have followed a few best practices, in pursuit of saving time and energy in what we commonly term as "Re-Inventing the Wheel".]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fdeveloper.expressionz.in%2Fblogs%2F2010%2F05%2F20%2Fre-cycling-css-a-look-at-css-frameworks%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fdeveloper.expressionz.in%2Fblogs%2F2010%2F05%2F20%2Fre-cycling-css-a-look-at-css-frameworks%2F&amp;source=nikhild&amp;style=normal&amp;hashtags=Best+Practices,CSS+Framework&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Re-Cycling is Buzzword and In Web Development it means no different.  It conserves energy, in terms of effort!</p>
<p>Over years of writing CSS and creating HTML from designs,  I have followed a few best practices, in pursuit of saving time and energy in what we commonly term as &#8220;Re-Inventing the Wheel&#8221;.  Time and time again, I have told myself, that I must create a few templates , some standard re-usable CSS  that I would use  OUT OF THE BOX in my future work. Though not completely but  I did manage to achieve some of goals.</p>
<p>In furthering, Re-Use of CSS , I had a  look at the few CSS frameworks that are commonly available to us and  decided to put them to use,  as these are tried and tested  and created by much experienced developers , than myself . More importantly &#8220;AVOID RE-INVENTING&#8221;.</p>
<p>Though common knowledge  to veterans,  I have tried to pen some key concepts/best-practices/thoughts that has gone into creating these frameworks, to make RE-CYCLING of CSS possible. Hope this will help some CSS developers who are just about to and recently boarded the CSS bandwagon!</p>
<h3>Keys Re-cycling of CSS :</h3>
<p><strong><span style="text-decoration: underline;">Use Naming  Conventions</span></strong></p>
<p>This has to be the most important factor in making the CSS/HTML re-usable. Giving consistent names to page elements enables re-use of page components and their styles with little or modifications. In line with this argument,  Even HTML5 , in a major change change over its predecessors ,  is to introduce some structural tags  viz.  &lt;article&gt;, &lt;section&gt;, &lt;header&gt;, &lt;aside&gt;, and &lt;nav&gt; [<a title="Permanent Link to What will HTML5 bring?" href="http://developer.expressionz.in/blogs/2010/01/08/what-will-html5-bring/" target="_blank">What will HTML5 bring?</a>].  Even with HTML 4(or lower),  it is best to name standard sections of your page consistanly like in the simple example below&#8230;</p>
<p>Remember,  Most pages on your project , end up having the same core structural elements. Identify these common core page elements &#8230;.</p>
<pre>&lt;div id="container"&gt;
   &lt;div id="header"&gt;...&lt;/div&gt;
   &lt;div id="nav"&gt;...&lt;/div&gt;
   &lt;div id="sidebar"&gt;...&lt;/div&gt;
   &lt;div id="footer"&gt;...&lt;/div&gt;
  &lt;/div&gt;</pre>
<p><strong><span style="text-decoration: underline;"> Reset Default Styles ( CSS Resets) :</span></strong> Whether you use a framework or write your own , you must provide CSS Resets  [<a title="Permanent Link to What are CSS Resets?" href="http://developer.expressionz.in/blogs/2008/03/11/what-are-css-resets/" target="_blank">What are CSS Resets?</a>], as they reduce or sometimes  eliminate  visual inconsistencies that  occur between various browsers.  In simple words the CSS Reset Mechanism  sets the styles of HTML Element  to  zero or null values, thus overriding any  browser default values they may poses.  This provides a clean slate to set the   properties of  these elements void of any User-Agent Defaults [<a title="Permanent Link to CSS2.1 User Agent Style Sheet Defaults" href="http://developer.expressionz.in/blogs/2009/07/28/css21-user-agent-style-sheet-defaults/" target="_blank">CSS2.1 User Agent Style Sheet Defaults</a>].  All the CSS  frameworks do have of reset mechanism. If you are writing you own CSS Resets, a word of caution is that if you happen to forget to reset a key property,  It could lead to cross-browser issues, that are very difficult to debug.  Remember,  Keep a copy of the reset styles and drop them into each new project you create.</p>
<pre> body, div, dl, dt, dd, ul, ol, li,
 h1, h2, h3, h4, h5, h6,
 pre, form, fieldset, input, select, textarea,
 p,blockquote, table, th, td
 {
   border:0px;
   margin:0;
   padding:0;
 }</pre>
<p><span style="text-decoration: underline;"><strong>Set Defaults (Baseline Styles) to Elements : </strong></span></p>
<p>After you have set ( to zero or null)  the default Values of certain attributes  of certain HTML Elements, It is necessary to apply some styles across every instance of these elements. These default setting could vary as per the design or according the best practices you follow.</p>
<p>Most CSS frameworks, always introduces some new defaults,  in addition to resetting default browser styles.<br />
These defaults being void of the User-Agent Defaults(  stripped away by the CSS Reset), these will be consistent across browsers .</p>
<p>Remember, Baseline styles are used to  set  styles that are going be used design-wide. eg .</p>
<pre>html { font-size: 77%; font-family: Arial, sans-serif; }
strong, h1, h2, h3, h4, h5, h6 { font-weight: bold; }</pre>
<p><strong><span style="text-decoration: underline;">Abstract Styles for Common HTML Components and Common Classes :</span></strong></p>
<p>Most project consisting of several pages will have common HTML elements used across the site, for e.g.  Some sort of forms, alerts and errors ,  Custom Popups, LightBoxes etc.  Since such components are used over again across projects, It will be useful  to  provide a set of classes associated with predefined styles for these components  and  you can save yourself a lot of time.</p>
<p>Apart from defining reusable styles definitions for the common HTML Components , we could abstract styles classes  pertaining to typography, color or even  layout.  I myself tend you use &#8230; common classes like Clearfix, Font08, FontGrey, AlignL, DisplayB etc.</p>
<pre>form input{ border:0px;   background:#ffffff; padding:0px 10px; _padding:0px 0px; height:26px; color:#000000; line-height:30px;  font-size:1.1em; }
form textarea{  border:0px;   background:#ffffff; color:#000000; font-size: .9em; line-height:1.5em; overflow:visible; }

.fbold{font-weight:bold; color:#cccccc;}
.fgrey{ color:#666666;}
.flightgrey{ color:#bbbbbb;}
.clearfix {clear:both;}
.divider{border-top:1px solid #647B06; border-bottom:1px solid #9CC00A; height:0px; }
.displayb{display:block;} .displayn{display:none;}
.alignr{text-align:right} .alignc{text-align:center}
.floatr{float:right; } .floatl{float:left;}</pre>
<p><strong><span style="text-decoration: underline;">Fixes to common browser quirks</span></strong></p>
<p>Various browsers implement CSS code and provide varying level of  support for the CSS specifications.  The result of this  &#8230;. &#8220;Browser Quirks&#8221;, that we developers are left to tackle.    Especially, IE6  haunts most CSS coders with a deadline to meet. The good news is experience has  brought  together  possible REUSABLE fixes to these issues  ( Often termed as <a href="http://developer.expressionz.in/blogs/tag/ie-hacks/" target="_blank">CSS Hacks</a>) .</p>
<p>Remember ,  Keep these hacks/fixes handy</p>
<pre>  /* The following zoom:1 rule is specifically for IE6 + IE7.  */
   * html .clearfix,
   *:first-child+html .clearfix {
          zoom: 1;
     }</pre>
<p><strong><span style="text-decoration: underline;">Keep Refining Your  CSS</span></strong></p>
<ul>
<li>The habit of re-cycling will not come to you in day. It has to developed. So plan your Re-Cycling . Bear this in mind that you could abstract defaults styles,  typography definitions, Layouts , HTML Element Styles etc.  Try to think ahead.</li>
<li>Also look back at your past projects, it will help identify styles that you tend  to use often across porjects. Abstract it.</li>
<li>Remove any unused styles.  This practice will keep your CSS framework from a common symptom called &#8220;Bloating&#8221; -</li>
<li>Remove repetitive styles .</li>
<li>Build a set of styles that are flexible enough to port it across projects.</li>
</ul>
<h2>A Look At CSS Frameworks</h2>
<p>Finally.  If you are inspired and intend to use one or more of the CSS frameworks, Heres is quick list of a few popular ones &#8230;.</p>
<ul>
<li><a href="http://960.gs/" target="_top">960 Grid System</a> : The 960 Grid System is an effort to streamline web development workflow by providing commonly used dimensions, based on a width of 960 pixels. There are three variants: 12, 16 and 24  columns, which can be used separately or in tandem.  Thought nothing that you cannot create one for your own easily enough,  The framework provides grid templates for print in PDF format, that one can use to sketch your page designs.Bet ,  It would make a professional impression , if you carry a few sheets  when you go to a client for UI requirements gathering. It also provides basic grid templates for popular design software like Fireworks, Flash, InDesign, Illustrator, Photoshop, Visio,  etc. providing a &#8220;starter for ten&#8221;  to begin your design work.</li>
<li><a href="http://www.blueprintcss.org/" target="_top">Blueprint</a> :  Blueprint provides distinctly classified CSS files for Resets, Grids, Forms, Print, Typography , Plugins for buttons, tabs and sprites etc. It also provides support for IE as a separate include.</li>
<li><a href="http://sencss.kilianvalkhof.com/" target="_top">SenCSs</a> : Unlike  the above two, SenCSs ( pronounced Sense) , doesnt have CSS definitions for Layout. It does include  fonts, paddings, margins, tables, lists, headers, blockquotes, forms and more.</li>
<li><a href="http://bluetrip.org/" target="_top">BlueTrip</a> : Its original claim to fame was that , it was  a combination of the best features provided by other others frameworks like <strong>Blue</strong>print, <strong>Trip</strong>oli &#8230; from where it gets its name.  Its feature set includes 24-column grid, typography styles , orm styles, print, buttons etc.</li>
<li><a href="http://developer.yahoo.com/yui/grids/" target="_top">YUI Grids</a> : Brought to you by the Yahooo Developer Network ,  supports fluid-width (100%) layouts as well as preset fixed-width layouts at 750px, 950px, and 974px, and the ability to easily customize to any number. As you can see , Its technically just the layout Components. YUI also provided  HTML/CSS  sets for other page elements</li>
<li><a href="http://www.yaml.de/en/" target="_top">YAML (Yet Another Multicolumn       Layout)</a></li>
<li><a href="http://code.google.com/p/emastic/" target="_top">Emastic</a></li>
</ul>
<p>Remember , using CSS frameworks  doesn&#8217;t imply that you are  lazy  to create one of your own &#8230; It implies that you are smart to learn from others experience &amp; mistakes , SAVE TIME and INCREASE PRODUCTIVITY!!!!</p>
<img src="http://feeds.feedburner.com/~r/ExpressingIT/~4/ImqedJRmkUA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://developer.expressionz.in/blogs/2010/05/20/re-cycling-css-a-look-at-css-frameworks/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://developer.expressionz.in/blogs/2010/05/20/re-cycling-css-a-look-at-css-frameworks/</feedburner:origLink></item>
		<item>
		<title>@fontface : Expressing it with a font of your choice; Using WebFonts</title>
		<link>http://feedproxy.google.com/~r/ExpressingIT/~3/jz6Ybr7ZFYU/</link>
		<comments>http://developer.expressionz.in/blogs/2010/03/13/fontface-expressing-it-with-a-font-of-your-choice-using-webfonts/#comments</comments>
		<pubDate>Sat, 13 Mar 2010 09:31:59 +0000</pubDate>
		<dc:creator>Nikhil</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Webfonts]]></category>

		<guid isPermaLink="false">http://developer.expressionz.in/blogs/?p=210</guid>
		<description><![CDATA[CSS completed 10 years existence this year! Those who have been around for a while , earning their bread (or not) using CSS, then you might aware how we have been starving for  a good selection of fonts. ]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fdeveloper.expressionz.in%2Fblogs%2F2010%2F03%2F13%2Ffontface-expressing-it-with-a-font-of-your-choice-using-webfonts%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fdeveloper.expressionz.in%2Fblogs%2F2010%2F03%2F13%2Ffontface-expressing-it-with-a-font-of-your-choice-using-webfonts%2F&amp;source=nikhild&amp;style=normal&amp;hashtags=Tutorials,Webfonts&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>CSS completed 10 years existence this year! Those who have been around for a while , earning their bread (or not) using CSS, then you might aware how we have been starving for  a good selection of fonts.  Even with the lack of fonts designers like those at  <a href="http://www.csszengarden.com/" target="_blank">CSS Zen Garden</a> have made use of CSS background images to replace fonts  in the pursuit of doing some justice to their designs .  We have also tried Flash/JavaScript® hacks to achieve our design goals.  By no means this is  a wrong way to get the fonts we desire into our web designs, but definitely, it is not the most desirable way.  and over years web designer, like me ,  have fully relied  on ten or so  fonts for their designs.</p>
<p>Recent developments in web standards and font formats make it possible to render HTML text in typefaces other than the same old default fonts.   Comes in  the &#8220;<strong>@fontface</strong>&#8221; CSS decleration.</p>
<p><strong>@fontface</strong> provids a solution to link  to the actual font file and retrieve it from the web.  Using @fontface , designers can use  fonts without having to freeze the text as background images.  The implementation is very straight forward, as shown below but  as all good things have a CON part to it , NOT ALL browsers support a single &#8220;<em>font type</em> &#8220;.  If you are planning to use <strong>@fontface</strong> in site with requiring cross browser support, then you will have to provide sources to various font-types of the same.</p>
<ol>
<li><strong>TrueType</strong> &#8211; A format designed to look good on-screen. Recommended particularly for Windows browsers (Chrome).</li>
<li><strong>OpenType (CFF)</strong> &#8211; This format is better for print work and does not always look good on Windows.</li>
<li><strong>EOT</strong> &#8211; You need this format if you want to target Internet Explorer. IE will not use any other format. Our EOT&#8217;s would be considered &#8220;Lite,&#8221; since they are neither compressed nor domain-restricted.</li>
<li><strong>SVG</strong> &#8211; This is an XML format supported by some browsers including the iPhone.</li>
<li><strong>WOFF</strong> &#8211; This cross-browser, web-only font format is lightweight (font data is zip compressed) and can be compiled with either TrueType or PostScript (CFF) outlines. It is currently supported by FireFox 3.6+.</li>
</ol>
<p><strong>Using @fontface</strong></p>
<pre>@font-face {
font-family: 'CalligraphyFLFRegular';
src: url('CalligraphyFLF.eot');
src: local('CalligraphyFLF'), local('CalligraphyFLF'), url('CalligraphyFLF.woff') format('woff'), url('CalligraphyFLF.ttf')        format('truetype'), url('CalligraphyFLF.svg#CalligraphyFLF') format('svg');
}

@font-face {
  font-family: "Your typeface";
  src: url("fonts/font_filename.eot");
  src: local("Alternate name"), local("Alternatename"),
    url("fonts/font_filename.woff") format("woff"),
    url("fonts/font_filename.otf") format("opentype"),
    url("fonts/font_filename.svg#font_filename") format("svg");
  }
h2 { font-family: "Your typeface", Georgia, serif; }</pre>
<p>As  you can see from the above example, to include the chosen font typeface, one has to  link to a set of fonttypes for the same typeface. Hence people refer to it as <strong>&#8220;Font Kit&#8221;</strong>.<br />
There are  Font Kits available that explicitly allows linking with the CSS @font-face property to it under End User License Agreement (EULA).</p>
<p><strong>Useful WebFont Resources : </strong></p>
<ul>
<li><a href="http://webfonts.info/wiki/index.php?title=Fonts_available_for_%40font-face_embedding" target="_blank">Fonts available for @font-face embedding</a> wiki page at <a href="http://webfonts.info/wiki/index.php?title=Main_Page" target="_blank">http://webfonts.info/wiki/index.php?title=Main_Page<br />
</a></li>
<li><a href="http://www.larabiefonts.com/" target="_blank">Ray Larabie</a> .  He is a renowned font designer who has made hundreds of interesting TrueType fonts freely available for use on the web. His fonts are elegant, decorative, and playful.</li>
<li><a href="http://moorstation.org/typoasis/designers/steffmann/index.htm" target="_blank">Dieter Steffmann</a> is another great font designer. He, too, has made many beautiful fonts available for anyone to use.</li>
<li><a href="http://www.fontshop.com/fonts/" target="_blank">Font shop</a> : offers fonts designed specifically for web use.  More than 30 of the most successful FontFont families are now available as Web FontFonts.   FontShop  also has  a detailed WebFont user guide  <a href="http://www.fontshop.com/blog/newsletters/pdf/webfontfontuserguide.pdf" target="_blank">http://www.fontshop.com/blog/newsletters/pdf/webfontfontuserguide.pdf<br />
</a></li>
<li><a href="http://www.fontsquirrel.com/fontface" target="_blank">Font Squirrel</a> :  Showcases all the fonts that Font Squirrel offers for use with @font-face CSS embedding. Font Squirrel offers an impressive quantity of type, makes it dead simple to pick one out, and handily offers “kits” – the typeface of your choice, in several formats, packaged with demo HTML &amp; CSS that uses very current @font-face syntax. They also offer a way to <a href="http://www.fontsquirrel.com/fontface/generator">make your own @font-face kits</a>.  If the typeface you want to use has been licensed appropriately (the ones that come with your computer are not necessarily okay), the generator produces EOT, SVG, and hey! WOFF files.</li>
</ul>
<img src="http://feeds.feedburner.com/~r/ExpressingIT/~4/jz6Ybr7ZFYU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://developer.expressionz.in/blogs/2010/03/13/fontface-expressing-it-with-a-font-of-your-choice-using-webfonts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://developer.expressionz.in/blogs/2010/03/13/fontface-expressing-it-with-a-font-of-your-choice-using-webfonts/</feedburner:origLink></item>
		<item>
		<title>Its about the  “Web designers who can’t code”</title>
		<link>http://feedproxy.google.com/~r/ExpressingIT/~3/VFKPjvCatuQ/</link>
		<comments>http://developer.expressionz.in/blogs/2010/03/09/its-about-the-web-designers-who-can%e2%80%99t-code/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 16:47:06 +0000</pubDate>
		<dc:creator>Nikhil</dc:creator>
				<category><![CDATA[UI Developer]]></category>
		<category><![CDATA[User Interface Desgin]]></category>
		<category><![CDATA[Web Developer]]></category>

		<guid isPermaLink="false">http://developer.expressionz.in/blogs/?p=189</guid>
		<description><![CDATA[With my limited skill-set with tools like Photoshop and Illustrator, I can honestly confess that I'm a better developer than a designer. But my background with core (server side) development with Java and PHP , has been a very positive effect on my UI development skills.]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fdeveloper.expressionz.in%2Fblogs%2F2010%2F03%2F09%2Fits-about-the-web-designers-who-can%25e2%2580%2599t-code%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fdeveloper.expressionz.in%2Fblogs%2F2010%2F03%2F09%2Fits-about-the-web-designers-who-can%25e2%2580%2599t-code%2F&amp;source=nikhild&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>With my limited skill-set with tools like Photoshop and Illustrator, I can honestly confess that I&#8217;m a better developer than I am a designer. But my background with core (server side) development with Java/PHP/COBOL , has been a very positive influence on my UI development skills. What I mean is, while  creating my designs,i.e. whenever I do design,  I think about how the design can be best converted into HTML-CSS and while doing the HTML-CSS, I give a thought about the backend technology and make reasonably sure that the HTML can be easily implemented  into XSL loops or PHP snippets etc.</p>
<p>Over years, I have been thrown head on to designs by UI designers who probably donot have a clue what HTML or CSS is. All these years I have been thinking that I would asking for too much, If I just expect the designer, who is trying to shov his &#8220;impossible to code&#8221; design down my throat, to understand just a little bit  what his design would be converted into. THAT would help right?</p>
<p>Then, I came across  this post today &#8230; <strong><a href="http://elliotjaystocks.com/blog/web-designers-who-cant-code/" target="_blank">Web designers who can’t code</a></strong> &#8230;Thanks Lord!  I&#8217;m just one of many who feel the same &#8230;  The above artitle is a bit a long winded .. but worth the read, every word of it.</p>
<p>Thanks Elliot Jay Stocks &#8230; I feel relieved!</p>
<p>Here is some excerpts from <a href="http://elliotjaystocks.com/blog/web-designers-who-cant-code/" target="_blank">Elliots article</a>.</p>
<h4>
Wow, what a day! It started with one little tweet and ended with a discussion that seemed to sweep across the whole web design community. It appears there are some very strong opinions held on the subject of whether web designers should be able to code.<br />
&#8230;<br />
So, before we get into this, allow me to quickly recap what I said on this morning on Twitter:</p>
<blockquote>
<h3>Honestly, I’m shocked that in 2010 I’m still coming across ‘web designers’ who can’t code their own designs. No excuse.</h3>
</blockquote>
<p>&#8230; I should’ve been a little more specific in my tweet. I was talking about designers who don’t have even the most basic HTML and CSS skills to turn a flat design into an actual site. Not people who intentionally choose not to code; those who can’t. And I’m also referring only to front-end code here; of course it’s ridiculous to think that designers should also be amazing back-end programmers &#8230; </p>
<blockquote>
<h3>    We get ‘web’ designs sent in Illustrator, 300dpi, impossible to code, no consistency / usability.<br />
~ Amy Mahon</h3>
</blockquote>
<p>It’s getting late, and I’ve got to wrap this up somehow. I know there will be many who disagree with me, and my intention is not to offend or upset anyone who can’t code, but I hope that some of what I’ve said reflects some of the points that always come up when delving into this debate.</p>
<p>At the end of the day, I don’t lose any sleep over who can code and who can’t. I’m just genuinely surprised to find so many designers that lack front-end skills, as I thought this was a thing of the past.</p>
</h4>
<p>Also read the comments , there were around 320 comments, as i write &#8230; they are worth a read.<br />
Please read Elliots full post here .. <strong><a href="http://elliotjaystocks.com/blog/web-designers-who-cant-code/" target="_blank">Web designers who can’t code</a></strong></p>
<img src="http://feeds.feedburner.com/~r/ExpressingIT/~4/VFKPjvCatuQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://developer.expressionz.in/blogs/2010/03/09/its-about-the-web-designers-who-can%e2%80%99t-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://developer.expressionz.in/blogs/2010/03/09/its-about-the-web-designers-who-can%e2%80%99t-code/</feedburner:origLink></item>
		<item>
		<title>Aligning radio button with text</title>
		<link>http://feedproxy.google.com/~r/ExpressingIT/~3/B651wtwIfFE/</link>
		<comments>http://developer.expressionz.in/blogs/2010/03/04/aligning-radio-button-with-text/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 09:02:20 +0000</pubDate>
		<dc:creator>Nikhil</dc:creator>
				<category><![CDATA[Browser Quirks]]></category>
		<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://developer.expressionz.in/blogs/?p=170</guid>
		<description><![CDATA[Sine the radio button and the text are inline, so the text will align itself to the bottom of the radio button, The  the text will appear to be slightly under the radio button. ]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fdeveloper.expressionz.in%2Fblogs%2F2010%2F03%2F04%2Faligning-radio-button-with-text%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fdeveloper.expressionz.in%2Fblogs%2F2010%2F03%2F04%2Faligning-radio-button-with-text%2F&amp;source=nikhild&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Since the radio button and the text are inline, so the text will align itself to the bottom of the radio button, The  the text will appear to be slightly under the radio button.<br />
If you want these to align to the top, you&#8217;ll have to place the radio and the text into separate containers like divs  or spans ( as appropriate) and they will take care of the alignment. It would be easier to use table cells  too, of your design brief permits it.</p>
<p>This won&#8217;t look the same in every browser, as every browser displays radios slightly differently, so there&#8217;s always going to be size issues no matter what you do.</p>
<img src="http://feeds.feedburner.com/~r/ExpressingIT/~4/B651wtwIfFE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://developer.expressionz.in/blogs/2010/03/04/aligning-radio-button-with-text/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://developer.expressionz.in/blogs/2010/03/04/aligning-radio-button-with-text/</feedburner:origLink></item>
		<item>
		<title>What will HTML5 bring?</title>
		<link>http://feedproxy.google.com/~r/ExpressingIT/~3/SpxqsfbloUo/</link>
		<comments>http://developer.expressionz.in/blogs/2010/01/08/what-will-html5-bring/#comments</comments>
		<pubDate>Fri, 08 Jan 2010 16:56:41 +0000</pubDate>
		<dc:creator>Nikhil</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[HTML5]]></category>

		<guid isPermaLink="false">http://developer.expressionz.in/blogs/?p=176</guid>
		<description><![CDATA[As I write, Work on HTML 5, which commenced in 2004, is still being given shape by a joint effort between the W3C HTML WG and the WHATWG.]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fdeveloper.expressionz.in%2Fblogs%2F2010%2F01%2F08%2Fwhat-will-html5-bring%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fdeveloper.expressionz.in%2Fblogs%2F2010%2F01%2F08%2Fwhat-will-html5-bring%2F&amp;source=nikhild&amp;style=normal&amp;hashtags=HTML5&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>HTML5 is still a draft. As I write,  Work on HTML 5, which commenced in 2004, is still being given shape by a joint effort between the <a href="http://www.w3.org/html/"><abbr title="W3C HTML Working Group">W3C HTML WG</abbr></a> and the <a href="http://www.whatwg.org/"><abbr title="Web Hypertext Application Technology Working Group">WHATWG</abbr></a>.   The word is that the next gen HTML will have  enhancements and  features, which would new structure and semantics , form controls, APIs, multimedia tags etc..</p>
<p>In simple English &#8230; what would it mean to  us UI developers &#8230;</p>
<ul>
<li>There will addition of some structural tags  viz.  &lt;article&gt;, &lt;section&gt;, &lt;header&gt;, &lt;aside&gt;, and &lt;nav&gt;, which would replace the majority of &lt;div&gt;s used on a web page, making your pages a bit more semantic, but more importantly, <em>easier to read</em>.<br />
Hey! Just imagine the effort saved in finding that one missing close DIV tag.<br />
e.g.</li>
</ul>
<pre>&lt;body&gt;
  &lt;header&gt;...&lt;/header&gt;
  &lt;nav&gt;...&lt;/nav&gt;
  &lt;article&gt;
    &lt;section&gt;
      ...
    &lt;/section&gt;
  &lt;/article&gt;
  &lt;aside&gt;...&lt;/aside&gt;
  &lt;footer&gt;...&lt;/footer&gt;
&lt;/body&gt;</pre>
<p><strong>Instead of</strong></p>
<pre>&lt;body&gt;
  &lt;div id="header"&gt;...&lt;/div&gt;
  &lt;div id="nav"&gt;...&lt;/div&gt;
  &lt;div class="article"&gt;
    &lt;div class="section"&gt;
      ...
    &lt;/div&gt;
  &lt;/div&gt;
  &lt;div id="aside"&gt;...&lt;/div&gt;
  &lt;div id="footer"&gt;...&lt;/div&gt;
&lt;/body&gt;</pre>
<ul>
<li>With the advent of  audio and video content like YouTube, the use of embedded multimedia on the webpage has increaded by fold. Taking this into account , Now the plan is to add native support for embedding video and audio into the browser itself,  hence allow users to play, pause, stop, seek, and adjust volume using the builtin DOM APIs for scripts to control the playback.</li>
</ul>
<p>e.g.</p>
<pre>&lt;video poster="poster.jpg"&gt;
    &lt;source src="video.3gp" type="video/3gpp"
    media="handheld"&gt;
        &lt;source src="video.mp4" type="video/mp4"&gt;
&lt;/video&gt;
&lt;audio&gt;
  &lt;source src="music.oga" type="audio/ogg"&gt;
  &lt;source src="music.mp3" type="audio/mpeg"&gt;
&lt;/audio&gt;</pre>
<ul>
<li>Better-defined semantic roles for existing elements  for eg. &lt;strong&gt; and &lt;em&gt; might now actually have different  meanings i.e.  they will behave differently.</li>
</ul>
<p>There are many more changes/upgrades to the newer version &#8230; Will keep updating this post as I come accross any interesting useful ones &#8230;. Watch this space</p>
<p>This document may not provide accurate information as the HTML 5 specification is still actively in development. When in doubt, always check the <a href="http://dev.w3.org/html5/markup/" target="_blank">HTML 5 specification here</a>.</p>
<p><strong><em> </em></strong></p>
<img src="http://feeds.feedburner.com/~r/ExpressingIT/~4/SpxqsfbloUo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://developer.expressionz.in/blogs/2010/01/08/what-will-html5-bring/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://developer.expressionz.in/blogs/2010/01/08/what-will-html5-bring/</feedburner:origLink></item>
		<item>
		<title>CSS ZOOM –  Yet Another IE quirk; The 3 pixel shift</title>
		<link>http://feedproxy.google.com/~r/ExpressingIT/~3/NOxKgz4vgeM/</link>
		<comments>http://developer.expressionz.in/blogs/2009/11/07/css-zoom-yet-another-ie-quirk-the-3-pixel-shift/#comments</comments>
		<pubDate>Sat, 07 Nov 2009 11:56:27 +0000</pubDate>
		<dc:creator>Nikhil</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[IE Fixes]]></category>
		<category><![CDATA[IE Issues]]></category>
		<category><![CDATA[IE7]]></category>

		<guid isPermaLink="false">http://developer.expressionz.in/blogs/?p=158</guid>
		<description><![CDATA[  and  so might many of the other  serious web developers have  noticed more than many a times , that when there nested floats in the layout, on hover over some links ( anchor tags) , the containing container seems to shift a few pixels to the right.]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fdeveloper.expressionz.in%2Fblogs%2F2009%2F11%2F07%2Fcss-zoom-yet-another-ie-quirk-the-3-pixel-shift%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fdeveloper.expressionz.in%2Fblogs%2F2009%2F11%2F07%2Fcss-zoom-yet-another-ie-quirk-the-3-pixel-shift%2F&amp;source=nikhild&amp;style=normal&amp;hashtags=IE+Fixes,IE+Issues,IE7&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Time and over again, When all the other browsers seen to behave as told by the w3c rules , IE spirals you out of the development spirit by throwing a tantrum,  that doesn&#8217;t seem to have a fix . Just such a one is this issue in IE7.</p>
<p><strong>Problem Statement:</strong><br />
I  and  so might many of the other  serious web developers have  noticed more than many a times , that when there nested floats in the layout, on hover over some links ( anchor tags) , the containing container seems to shift a few pixels to the right.   I have tried to google solutions for this issue , but have  hardly found any reasonable answer to why and when it occurs ( that might help to prevent this issue from happening)  , hence  I  have never found a clear solution to the problem either&#8230;</p>
<p><strong>Possible Solution :</strong><br />
Out of experience , I have notice 90% percent of the times  i.e. ,  that this issue is fixed by adding a zoom property in the CSS definition of the mis-behaving container &#8230; </p>
<pre class=""javascript"">

#somediv {
      zoom: 1 ;
}

</pre>
<p> again the reasons are ambiguous &#8230; try this &#8230;<br />
<em> Some elements in IE have a &#8220;hasLayout&#8221; property , which is &#8220;true&#8221; by default. Many visual CSS behaviors ; for example, an alpha filter only works on an element that hasLayout. and the {Zoom:1} seems to give the target elements the hasLayout property</em>&#8230;. USeful? I dont think so&#8230;</p>
<p>The zoom property is also seems to supported by Chrome , but  its use  dint seem to make much adverse effect on my layout&#8230; try it, If it works for you &#8230; if it doesn&#8217;t,  bookmark this page under &#8220;CSS craps&#8221;</p>
<img src="http://feeds.feedburner.com/~r/ExpressingIT/~4/NOxKgz4vgeM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://developer.expressionz.in/blogs/2009/11/07/css-zoom-yet-another-ie-quirk-the-3-pixel-shift/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://developer.expressionz.in/blogs/2009/11/07/css-zoom-yet-another-ie-quirk-the-3-pixel-shift/</feedburner:origLink></item>
		<item>
		<title>HTML &amp; XHTML</title>
		<link>http://feedproxy.google.com/~r/ExpressingIT/~3/xPNx5lmmR0E/</link>
		<comments>http://developer.expressionz.in/blogs/2009/10/18/html-xhtml/#comments</comments>
		<pubDate>Sun, 18 Oct 2009 17:22:29 +0000</pubDate>
		<dc:creator>Nikhil</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[Web Developer]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://developer.expressionz.in/blogs/?p=182</guid>
		<description><![CDATA[The Document Type Declaration needs to be present at the beginning of a document that uses the HTML syntax. It may optionally be used within the XHTML syntax, but it is not required. The XHTML document does not need to include the DOCTYPE because XHTML documents that are delivered correctly using an XML MIME type [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fdeveloper.expressionz.in%2Fblogs%2F2009%2F10%2F18%2Fhtml-xhtml%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fdeveloper.expressionz.in%2Fblogs%2F2009%2F10%2F18%2Fhtml-xhtml%2F&amp;source=nikhild&amp;style=normal&amp;hashtags=XHTML&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<ul>
<li>The Document Type Declaration needs to be present at the beginning of a document that uses the HTML syntax. It may optionally be used within the XHTML syntax, but it is not required. The XHTML document does not need to include the DOCTYPE because XHTML documents that are delivered correctly using an XML MIME type and are processed as XML by browsers, are always rendered in no quirks mode.</li>
</ul>
<ul>
<li>In XHTML, tag names are case sensitive and are usually defined to be written in lowercase. In HTML, however, tag names are case insensitive and may be written in all uppercase or mixed case, although the most common convention is to stick with lowercase. The case of the start and end tags do not have to be the same, but being consistent does make the code look cleaner.</li>
</ul>
<h3>BENEFITS OF USING HTML</h3>
<ul>
<li>Backwards compatible with existing browsers</li>
<li>Authors are already familiar with the syntax</li>
<li>The lenient and forgiving syntax means there will be no user-hostile “<a href="http://en.wikipedia.org/wiki/Yellow_Screen_of_Death">Yellow Screen of Death</a>” if a mistake accidentally slips through</li>
<li>Convenient shorthand syntax, e.g. authors can omit some tags and attribute values</li>
</ul>
<h3>BENEFITS OF USING XHTML</h3>
<ul>
<li>Strict XML syntax encourages authors to write well-formed markup, which some authors may find easier to maintain</li>
<li>Integrates directly with other XML vocabularies, such as SVG and MathML</li>
<li>Allows the use of XML Processing, which some authors use as part of their editing and/or publishing processes</li>
</ul>
<img src="http://feeds.feedburner.com/~r/ExpressingIT/~4/xPNx5lmmR0E" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://developer.expressionz.in/blogs/2009/10/18/html-xhtml/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://developer.expressionz.in/blogs/2009/10/18/html-xhtml/</feedburner:origLink></item>
	</channel>
</rss>
