<?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>Web Style Press, Best Practices from all the Web, Build Better Websites &#187; W3C</title>
	<atom:link href="http://www.webstylepress.com/tag/w3c/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webstylepress.com</link>
	<description>Web VS Style</description>
	<lastBuildDate>Mon, 26 Dec 2011 10:35:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>W3C Validation Tips and Best Practices</title>
		<link>http://www.webstylepress.com/w3c-validation-tips/</link>
		<comments>http://www.webstylepress.com/w3c-validation-tips/#comments</comments>
		<pubDate>Fri, 05 Sep 2008 23:15:52 +0000</pubDate>
		<dc:creator>Hiroshi</dc:creator>
				<category><![CDATA[standards]]></category>
		<category><![CDATA[W3C]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[markup]]></category>
		<category><![CDATA[validation]]></category>

		<guid isPermaLink="false">http://www.webstylepress.com/?p=23</guid>
		<description><![CDATA[Markup language validation is very important. Without it your web page will not be indexed in Google. Google crawlers will just avoid the invalid markup and errors in HTML. Here is a complete list of tips you can use to avoid HTML markup errors and warnings so that you write valid HTML or XHTML. Advices [...]<p><a href="http://www.webstylepress.com/w3c-validation-tips/">W3C Validation Tips and Best Practices</a> is a post from: <a href="http://www.webstylepress.com">Web Style Press, Best Practices from all the Web, Build Better Websites</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Markup language validation is very important. Without it your web page will not be indexed in Google. Google crawlers will just avoid the invalid markup and errors in HTML. Here is a complete list of tips you can use to avoid HTML markup errors and warnings so that you write valid HTML or XHTML.</p>
<p><span id="more-23"></span></p>
<h5>Advices For Valid Markup</h5>
<ul>
<li>Use (define) backgrounds in CSS, not in html, TD, TR or Table</li>
<li>Do not define height of table or tr</li>
<li>Use alt=&#8221;" at every image even at spacer and separator</li>
<li>Place form tag b4 and after table tag and not td</li>
<li>Use correct doctype i.e.<br />
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"></li>
<li>Use all attributes for tags, i.e. script tags and css link tags. i.e.<br />
<script language="JavaScript" type="text/javascript" src="scripts/filename.js"></script></p>
<link href="css/filename.css" rel="stylesheet" type="text/css">
<li>In Anchor link where u have to use &#038; use its code like &amp;</li>
</ul>
<h5>Advices For Valid CSS</h5>
<ul>
<li>Define background color with color, and for transparent use inherit i.e.<br />
color : #000000;<br />
background-color: inherit;<br />
Use these both even one is not necessary to define, second with inherit property</li>
<li>Use shorthand for properties</li>
<li>Use generic font family i.e.<br />
font-family : verdana, arial, sans-serif;<br />
or<br />
font-family : &#8220;trebuchet ms&#8221;, geneva, sans-serif;</li>
<li>For background and backgriund position use different lines. i.e.<br />
background: url(../images/menulinebg.jpg) no-repeat;<br />
background-position:left center;</li>
</ul>
<h5>Validate HTML, XHTML and CSS</h5>
<h4>W3C HTML Validator</h4>
<p><a rel="nofollow" target="_blank" href="http://validator.w3.org/">http://validator.w3.org</a></p>
<h4>CSS Validator</h4>
<p><a rel="nofollow" target="_blank" href="http://jigsaw.w3.org/css-validator/" target="_blank">http://jigsaw.w3.org/css-validator/</a></p>
<p><a href="http://www.webstylepress.com/w3c-validation-tips/">W3C Validation Tips and Best Practices</a> is a post from: <a href="http://www.webstylepress.com">Web Style Press, Best Practices from all the Web, Build Better Websites</a></p>
<h2  class="related_post_title">Related Posts</h2><ul class="related_post"><li><a href="http://www.webstylepress.com/modern-font-styles-for-websites/" title="Modern Font Styles For Websites">Modern Font Styles For Websites</a></li><li><a href="http://www.webstylepress.com/wrapping-text/" title="Wrapping Text &#8211; Breaking Text with No Spaces into New Line">Wrapping Text &#8211; Breaking Text with No Spaces into New Line</a></li><li><a href="http://www.webstylepress.com/lorem-ipsum-ready/" title="Lorem ipsum Ready to Use">Lorem ipsum Ready to Use</a></li><li><a href="http://www.webstylepress.com/use-any-font-in-webpages-as-text/" title="Use Any Font in Webpages As Text">Use Any Font in Webpages As Text</a></li><li><a href="http://www.webstylepress.com/change-image-opacity-easily-using-css-js/" title="Change Image Opacity Easily Using CSS or JS">Change Image Opacity Easily Using CSS or JS</a></li><li><a href="http://www.webstylepress.com/css-maximum-benefits/" title="How to Gain Maximum from CSS">How to Gain Maximum from CSS</a></li><li><a href="http://www.webstylepress.com/rounded-div-without-images/" title="Create Rounded Flexible Div Without Images">Create Rounded Flexible Div Without Images</a></li><li><a href="http://www.webstylepress.com/astyle-visual-css-editor/" title="Astyle Visual CSS Editor">Astyle Visual CSS Editor</a></li><li><a href="http://www.webstylepress.com/simple-and-powerful-form-validation/" title="Simple and Powerful Form Validation">Simple and Powerful Form Validation</a></li><li><a href="http://www.webstylepress.com/superscript-and-subscript/" title="What is Superscript and Subscript in HTML">What is Superscript and Subscript in HTML</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.webstylepress.com/w3c-validation-tips/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

