<?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>DoNotYet.com &#187; Tips</title>
	<atom:link href="http://www.donotyet.com/tag/tips/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.donotyet.com</link>
	<description>Freebie Resources for Tech Users, AIR, Flex, Flash Developers and Photoshop, web Designers</description>
	<lastBuildDate>Sun, 05 Sep 2010 06:28:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to Speed up in Adobe PhotoShop &#8211; Using 27 Shortcut Keys</title>
		<link>http://www.donotyet.com/2009/11/08/how-to-speed-up-in-adobe-photoshop-using-27-shortcut-keys/</link>
		<comments>http://www.donotyet.com/2009/11/08/how-to-speed-up-in-adobe-photoshop-using-27-shortcut-keys/#comments</comments>
		<pubDate>Sun, 08 Nov 2009 14:17:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Shortcut key]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.donotyet.com/2009/11/08/how-to-speed-up-in-adobe-photoshop-using-27-shortcut-keys/</guid>
		<description><![CDATA[As a Photoshop user, if you want to speed up to improve the efficiency, well, I advise you to use the shortcut keys。
There are 27 Photoshop operation shortcut keys below, consist of 10 most frequently used shortcut keys、6 color-regulation shortcut keys、8 image-editor shortcut keys、3 interface shortcut keys. Hope you can make full use of them [...]]]></description>
			<content:encoded><![CDATA[<p>As a Photoshop user, if you want to speed up to improve the efficiency, well, I advise you to use the shortcut keys。</p>
<p>There are 27 Photoshop operation shortcut keys below, consist of 10 most frequently used shortcut keys、6 color-regulation shortcut keys、8 image-editor shortcut keys、3 interface shortcut keys. Hope you can make full use of them .</p>
<div style="margin: 0px 0px 0px 0px;"><script type="text/javascript"><!--
google_ad_client = "pub-7859640280892154";
/* DoNotYet-Article-336-280-01 */
google_ad_slot = "0432827541";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script><script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>
<p><span id="more-1253"></span>  </p>
<p><b><a href="http://www.donotyet.com/wp-content/uploads/2009/11/WindowsLiveWriterHowtoSpeedupinAdobePhotoShopUsing27Short_147A3clip_image002_2.jpg"><img style="border-bottom: 0px; border-left: 0px; border-top: 0px; border-right: 0px" border="0" alt="How-to-Speed-up-in-Adobe-PhotoShop-Using-27-Shortcut-Keys" src="http://www.donotyet.com/wp-content/uploads/2009/11/WindowsLiveWriterHowtoSpeedupinAdobePhotoShopUsing27Short_147A3clip_image002_thumb.jpg" width="500" height="360" /></a></b></p>
<p><b></b></p>
<p><b>10 most frequently used shortcut keys:</b></p>
<div class="hl-surround"><ol class="hl-main ln-show" title="Double click to hide line number." ondblclick = "linenumber(this)"><li class="hl-firstline"><span style="color: Gray;">Create a New File : Ctrl + N</span></li>
<li><span style="color: Gray;">&nbsp;</span></li>
<li><span style="color: Gray;">Image Size : Alt + Ctrl + I</span></li>
<li><span style="color: Gray;">&nbsp;</span></li>
<li><span style="color: Gray;">Canvas Size : Alt + Ctrl + C</span></li>
<li><span style="color: Gray;">&nbsp;</span></li>
<li><span style="color: Gray;">Duplicate layer: Ctrl + J</span></li>
<li><span style="color: Gray;">&nbsp;</span></li>
<li><span style="color: Gray;">Group layers: Ctrl + G</span></li>
<li><span style="color: Gray;">&nbsp;</span></li>
<li><span style="color: Gray;">Ungroup layers: Shift + Ctrl + G</span></li>
<li><span style="color: Gray;">&nbsp;</span></li>
<li><span style="color: Gray;">Select All Layers: Alt + Ctrl + A</span></li>
<li><span style="color: Gray;">&nbsp;</span></li>
<li><span style="color: Gray;">Feather: Alt + Ctrl + D</span></li>
<li><span style="color: Gray;">&nbsp;</span></li>
<li><span style="color: Gray;">Extract: Alt + Ctrl + X</span></li>
<li><span style="color: Gray;">&nbsp;</span></li>
<li><span style="color: Gray;">Vanishing point: Alt + Ctrl + V</span></li></ol></div>
<p><b>6 color-regulation shortcut keys</b><strong>：</strong></p>
<div class="hl-surround"><ol class="hl-main ln-show" title="Double click to hide line number." ondblclick = "linenumber(this)"><li class="hl-firstline"><span style="color: Gray;">Hue/Saturation: Ctrl + U</span></li>
<li><span style="color: Gray;">&nbsp;</span></li>
<li><span style="color: Gray;">Levels: Ctrl + L</span></li>
<li><span style="color: Gray;">&nbsp;</span></li>
<li><span style="color: Gray;">Curves: Ctrl + M</span></li>
<li><span style="color: Gray;">&nbsp;</span></li>
<li><span style="color: Gray;">Color Balance: Ctrl + B</span></li>
<li><span style="color: Gray;">&nbsp;</span></li>
<li><span style="color: Gray;">Desaturate: Ctrl + Shift + U</span></li>
<li><span style="color: Gray;">&nbsp;</span></li>
<li><span style="color: Gray;">Invert: Ctrl + I</span></li></ol></div>
<p><b>8 image-editor shortcut keys</b><strong>：</strong><strong></strong></p>
<div class="hl-surround"><ol class="hl-main ln-show" title="Double click to hide line number." ondblclick = "linenumber(this)"><li class="hl-firstline"><span style="color: Gray;">Undo: Ctrl + Z</span></li>
<li><span style="color: Gray;">&nbsp;</span></li>
<li><span style="color: Gray;">Step Forward: Shift + Ctrl + Z</span></li>
<li><span style="color: Gray;">&nbsp;</span></li>
<li><span style="color: Gray;">Step Backward: Alt + Ctrl + Z</span></li>
<li><span style="color: Gray;">&nbsp;</span></li>
<li><span style="color: Gray;">Fade: Shift + Ctrl + F</span></li>
<li><span style="color: Gray;">&nbsp;</span></li>
<li><span style="color: Gray;">Select All: Ctrl + A</span></li>
<li><span style="color: Gray;">&nbsp;</span></li>
<li><span style="color: Gray;">Deselect: Ctrl + D</span></li>
<li><span style="color: Gray;">&nbsp;</span></li>
<li><span style="color: Gray;">Inverse: Shift + Ctrl + I</span></li>
<li><span style="color: Gray;">&nbsp;</span></li>
<li><span style="color: Gray;">Brush Set: F5</span></li></ol></div>
<p><b>3 interface shortcut keys</b><strong>：</strong><strong></strong></p>
<div class="hl-surround"><ol class="hl-main ln-show" title="Double click to hide line number." ondblclick = "linenumber(this)"><li class="hl-firstline"><span style="color: Gray;">Switch Screen Mode: F</span></li>
<li><span style="color: Gray;">&nbsp;</span></li>
<li><span style="color: Gray;">Show/Hide Panel: F6, F7, F8, F9</span></li>
<li><span style="color: Gray;">&nbsp;</span></li>
<li><span style="color: Gray;">Show/Hide Tools: Tab</span></li></ol></div>
<h3>Related Posts</h3>
<ul class="related_post">
<li><a href="http://www.donotyet.com/2010/01/28/adobe-photoshop-cs3-logo-psd-free-download/" title="Adobe Photoshop CS3 Logo PSD Free Download">Adobe Photoshop CS3 Logo PSD Free Download</a></li>
<li><a href="http://www.donotyet.com/2010/01/28/adobe-photoshop-cs3-extended-psd-free-download/" title="Adobe Photoshop CS3 Extended PSD Free Download">Adobe Photoshop CS3 Extended PSD Free Download</a></li>
<li><a href="http://www.donotyet.com/2009/11/07/add-depth-of-field-to-perk-up-dull-photos-in-adobe-photoshop/" title="Add Depth of Field to Perk up Dull Photos in Adobe PhotoShop">Add Depth of Field to Perk up Dull Photos in Adobe PhotoShop</a></li>
<li><a href="http://www.donotyet.com/2009/11/01/collection-of-15-beautiful-adobe-photoshop-psd-files-for-car/" title="Collection of 15+ Beautiful Adobe PhotoShop .PSD Files For Cars">Collection of 15+ Beautiful Adobe PhotoShop .PSD Files For Cars</a></li>
<li><a href="http://www.donotyet.com/2010/09/05/photoshop-tutorial-how-to-make-an-icon-of-blue-crystal-house/" title="Photoshop Tutorial: How To Make an Icon of Blue Crystal House">Photoshop Tutorial: How To Make an Icon of Blue Crystal House</a></li>
<li><a href="http://www.donotyet.com/2010/08/29/photoshop-tutorial-how-to-draw-a-beautiful-chinese-peony2/" title="Photoshop Tutorial: How To Draw a Beautiful Chinese Peony(2)">Photoshop Tutorial: How To Draw a Beautiful Chinese Peony(2)</a></li>
<li><a href="http://www.donotyet.com/2010/08/22/photoshop-tutorial-how-to-draw-a-beautiful-chinese-peony1/" title="Photoshop Tutorial: How To Draw a Beautiful Chinese Peony(1)">Photoshop Tutorial: How To Draw a Beautiful Chinese Peony(1)</a></li>
<li><a href="http://www.donotyet.com/2010/08/15/photoshop-tutorial-how-to-make-a-blue-bougie-in-the-transparent-glass2/" title="Photoshop Tutorial: How To Make a Blue Bougie in The Transparent Glass(2)">Photoshop Tutorial: How To Make a Blue Bougie in The Transparent Glass(2)</a></li>
<li><a href="http://www.donotyet.com/2010/08/08/photoshop-tutorial-how-to-make-a-blue-bougie-in-the-transparent-glass1/" title="Photoshop Tutorial: How To Make a Blue Bougie in The Transparent Glass(1)">Photoshop Tutorial: How To Make a Blue Bougie in The Transparent Glass(1)</a></li>
<li><a href="http://www.donotyet.com/2010/08/01/photoshop-tutorial-how-to-make-a-picture-of-a-tearful-girl/" title="Photoshop Tutorial: How To Make a Picture of a Tearful Girl">Photoshop Tutorial: How To Make a Picture of a Tearful Girl</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.donotyet.com/2009/11/08/how-to-speed-up-in-adobe-photoshop-using-27-shortcut-keys/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>10 Useful Tips for HTML Coding</title>
		<link>http://www.donotyet.com/2009/10/07/10-useful-tips-for-html-coding/</link>
		<comments>http://www.donotyet.com/2009/10/07/10-useful-tips-for-html-coding/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 09:06:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.donotyet.com/2009/10/07/10-useful-tips-for-html-coding/</guid>
		<description><![CDATA[HTML is a language for describing web pages.

HTML stands for Hyper Text Markup Language 
HTML is not a programming language, it is a markup language 
A markup language is a set of markup tags 
HTML uses markup tags to describe web pages 

In this article, 10 tips are collected together and offered for beginners, specifically [...]]]></description>
			<content:encoded><![CDATA[<p>HTML is a language for describing web pages.</p>
<ul>
<li>HTML stands for Hyper Text Markup Language </li>
<li>HTML is not a programming language, it is a markup language </li>
<li>A markup language is a set of markup tags </li>
<li>HTML uses markup tags to describe web pages </li>
</ul>
<p>In this article, 10 tips are collected together and offered for beginners, specifically for those who are just diving into web development with one year of knowledge or less. As long as bearing in mind and flexibly applying them in practical exercises, you definitely can write masterful codes and become a good programmer. </p>
<div style="margin: 0px 0px 0px 0px;"><script type="text/javascript"><!--
google_ad_client = "pub-7859640280892154";
/* DoNotYet-Article-336-280-01 */
google_ad_slot = "0432827541";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script><script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>
<p><span id="more-529"></span> </p>
<p><a href="http://www.donotyet.com/wp-content/uploads/2009/10/clip_image0022.gif"><img title="clip_image002" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="390" alt="clip_image002" src="http://www.donotyet.com/wp-content/uploads/2009/10/clip_image002_thumb2.gif" width="500" border="0" /></a></p>
<p>1. <b>Be Sure to Close Tags</b></p>
<p>We always see some source codes in web documents like this</p>
<div class="hl-surround"><ol class="hl-main ln-show" title="Double click to hide line number." ondblclick = "linenumber(this)"><li class="hl-firstline"><span style="color: Olive;">&lt;</span><span style="color: Green;">li</span><span style="color: Olive;">&gt;</span><span style="color: Gray;">Some text here.</span></li>
<li><span style="color: Olive;">&lt;/</span><span style="color: Green;">li</span><span style="color: Olive;">&gt;&lt;</span><span style="color: Green;">li</span><span style="color: Olive;">&gt;</span><span style="color: Gray;">Some new text here.</span></li>
<li><span style="color: Olive;">&lt;/</span><span style="color: Green;">li</span><span style="color: Olive;">&gt;&lt;</span><span style="color: Green;">li</span><span style="color: Olive;">&gt;</span><span style="color: Gray;">You get the idea.</span></li>
<li><span style="color: Olive;">&lt;/</span><span style="color: Green;">li</span><span style="color: Olive;">&gt;</span></li></ol></div>
<p>Maybe in the past we could ignore this, but in today&#8217;s standards, it should be 100% avoided. Be sure to close your tags, otherwise you’ll encounter corroboration and malfunction issues at every turn.</p>
<p>2. <b>Declare the Correct DocType</b></p>
<p>The author used to participate quite a bit in CSS forums. When a user had some questions, before we look at their situation, we suggest him that two things go first.</p>
<div class="hl-surround"><ol class="hl-main ln-show" title="Double click to hide line number." ondblclick = "linenumber(this)"><li class="hl-firstline"><span style="color: Gray;">①Validate the CSS file. Fix any necessary errors.</span></li>
<li><span style="color: Gray;">②Add a doctype.</span></li></ol></div>
<p>Only if define doctype before HTML tags begin, which tell the browser that HTML, XTHML or mixture of both consist in the page, the browser can analysis tags correctly.</p>
<p>Usually there are four doctypes to choose from.</p>
<div class="hl-surround"><ol class="hl-main ln-show" title="Double click to hide line number." ondblclick = "linenumber(this)"><li class="hl-firstline"><span style="color: Gray;">①</span><span style="color: Olive;">&lt;</span><span style="color: Gray;"> !</span><span style="color: #00008b;">DOCTYPE</span><span style="color: Gray;"> </span><span style="color: #00008b;">HTML</span><span style="color: Gray;"> </span><span style="color: #00008b;">PUBLIC</span><span style="color: Gray;"> </span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">-//W3C//DTD HTML 4.01//EN</span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;"> </span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">http://www.w3.org/TR/html4/strict.dtd</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">&gt;</span></li>
<li><span style="color: Gray;">②</span><span style="color: Olive;">&lt;</span><span style="color: Gray;"> !</span><span style="color: #00008b;">DOCTYPE</span><span style="color: Gray;">&nbsp;</span><span style="color: #00008b;">HTML</span><span style="color: Gray;"> </span><span style="color: #00008b;">PUBLIC</span><span style="color: Gray;"> </span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">-//W3C//DTD HTML 4.01 Transitional//EN</span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;"> </span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">http://www.w3.org/TR/html4/loose.dtd</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">&gt;</span></li>
<li><span style="color: Gray;">③</span><span style="color: Olive;">&lt;</span><span style="color: Gray;"> !</span><span style="color: #00008b;">DOCTYPE</span><span style="color: Gray;">&nbsp;</span><span style="color: #00008b;">html</span><span style="color: Gray;"> </span><span style="color: #00008b;">PUBLIC</span><span style="color: Gray;"> </span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">-//W3C//DTD XHTML 1.0 Transitional//EN</span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;"> </span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">&gt;</span></li>
<li><span style="color: Gray;">④</span><span style="color: Olive;">&lt;</span><span style="color: Gray;"> !</span><span style="color: #00008b;">DOCTYPE</span><span style="color: Gray;">&nbsp;</span><span style="color: #00008b;">html</span><span style="color: Gray;"> </span><span style="color: #00008b;">PUBLIC</span><span style="color: Gray;"> </span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">-//W3C//DTD XHTML 1.0 Strict//EN</span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;"> </span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">&gt;</span></li></ol></div>
<p>Different opinion always exists in the discussion about what kind of declaration is correct. Most people think the most strict is the best, however researches show that many people choose using HTML 4.01 Strict because most browsers analysis this declaration in a ordinary way. But the bottom line is whether it fits you or not. Therefore you have to think over it and choose your correct one.</p>
<p>3. <b>Do Not Use Inline Styles</b></p>
<p>When you work really hard on writing codes, it can be alluring to take the easy route and sneak in a bit of styling like this</p>
<div class="hl-surround"><ol class="hl-main ln-show" title="Double click to hide line number." ondblclick = "linenumber(this)"><li class="hl-firstline"><span style="color: Olive;">&lt;</span><span style="color: Green;">p</span><span style="color: Gray;"> </span><span style="color: #00008b;">style</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">color: red;</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">&gt;</span><span style="color: Gray;">i want you to notice this</span><span style="color: Olive;">&lt;/</span><span style="color: Green;">p</span><span style="color: Olive;">&gt;</span></li></ol></div>
<p>It looks like convenient and no-big-deal, but troubles are brought without noticed. It is better for you to use styles after finish its structure and content. A better method is reference that P tag from your external stylesheet.</p>
<div class="hl-surround"><ol class="hl-main ln-show" title="Double click to hide line number." ondblclick = "linenumber(this)"><li class="hl-firstline"><span style="color: Gray;">someElement &gt; p {</span></li>
<li><span style="color: Gray;">color: red;</span></li>
<li><span style="color: Gray;">}</span></li></ol></div>
<p>4. <b>Place all External CSS Files within the Head Tag</b></p>
<p>Technically, you can place stylesheets wherever you want. Though, the HTML requirement recommends that they be placed within the document head tag. The primary advantage is that your pages will apparently load faster.</p>
<div class="hl-surround"><ol class="hl-main ln-show" title="Double click to hide line number." ondblclick = "linenumber(this)"><li class="hl-firstline"><span style="color: Olive;">&lt;</span><span style="color: Green;">head</span><span style="color: Olive;">&gt;</span></li>
<li><span style="color: Olive;">&lt;</span><span style="color: Green;">title</span><span style="color: Olive;">&gt;</span><span style="color: Gray;">My Favorites Kinds of Corn</span><span style="color: Olive;">&lt;/</span><span style="color: Green;">title</span><span style="color: Olive;">&gt;</span></li>
<li><span style="color: Olive;">&lt;</span><span style="color: Green;">link</span><span style="color: Gray;">&nbsp;</span><span style="color: #00008b;">rel</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">stylesheet</span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;"> </span><span style="color: #00008b;">type</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">text/css</span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;"> </span><span style="color: #00008b;">media</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">screen</span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;"> </span><span style="color: #00008b;">href</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">path/to/file.css</span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;"> </span><span style="color: Olive;">/&gt;</span></li>
<li><span style="color: Olive;">&lt;</span><span style="color: Green;">link</span><span style="color: Gray;">&nbsp;</span><span style="color: #00008b;">rel</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">stylesheet</span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;"> </span><span style="color: #00008b;">type</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">text/css</span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;"> </span><span style="color: #00008b;">media</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">screen</span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;"> </span><span style="color: #00008b;">href</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">path/to/anotherFile.css</span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;"> </span><span style="color: Olive;">/&gt;</span></li>
<li><span style="color: Olive;">&lt;/</span><span style="color: Green;">head</span><span style="color: Olive;">&gt;</span></li></ol></div>
<p>5. <b>Consider Placing Javascript Files at the Bottom</b></p>
<p>Remember a principle that we should make a page load as fast as it can. When loading a script, the page will not continue until the entire file has been loaded. It wastes a lot of time.</p>
<p>If you only want some like add a functionality after click a button, then it is a best choice to place those files at the bottom before the closing body tag. </p>
<p>For example</p>
<div class="hl-surround"><ol class="hl-main ln-show" title="Double click to hide line number." ondblclick = "linenumber(this)"><li class="hl-firstline"><span style="color: Olive;">&lt;</span><span style="color: Green;">p</span><span style="color: Olive;">&gt;</span><span style="color: Gray;">And now you know my favorite kinds of corn. </span><span style="color: Olive;">&lt;/</span><span style="color: Green;">p</span><span style="color: Olive;">&gt;</span></li>
<li><span style="color: Olive;">&lt;</span><span style="color: Green;">script</span><span style="color: Gray;">&nbsp;</span><span style="color: #00008b;">type</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">text/javascript</span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;"> </span><span style="color: #00008b;">src</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">path/to/file.js</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">&gt;&lt;/</span><span style="color: Green;">script</span><span style="color: Olive;">&gt;</span></li>
<li><span style="color: Olive;">&lt;</span><span style="color: Green;">script</span><span style="color: Gray;">&nbsp;</span><span style="color: #00008b;">type</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">text/javascript</span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;"> </span><span style="color: #00008b;">src</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">path/to/anotherFile.js</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">&gt;&lt;/</span><span style="color: Green;">script</span><span style="color: Olive;">&gt;</span></li></ol></div>
<p>6. <b>Do Not Use Inline Javascript. It&#8217;s Already 2009! </b></p>
<p>Years ago there was an ordinary way that people placed JS directly within tags, especially in simple image galleries. In essence, a “onclick” attribute was appended to the tag and its value is equal to some JS method. We should not do this. Instead, transfer this code to an external JS file and use “addEventListener/attachEvent” to “listen” for your preferred event. Or, if using a framework like jQuery, just use the “click” method.</p>
<div class="hl-surround"><ol class="hl-main ln-show" title="Double click to hide line number." ondblclick = "linenumber(this)"><li class="hl-firstline"><span style="color: Gray;">① $(’a#moreCornInfoLink’).click(function() {</span></li>
<li><span style="color: Gray;">② alert(’Want to learn more about corn?’);</span></li>
<li><span style="color: Gray;">③ });</span></li></ol></div>
<p>7. <b>Validate Continuously</b></p>
<p><a href="http://www.donotyet.com/wp-content/uploads/2009/10/clip_image003.jpg"><img title="clip_image003" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="319" alt="clip_image003" src="http://www.donotyet.com/wp-content/uploads/2009/10/clip_image003_thumb.jpg" width="504" border="0" /></a></p>
<p>Many people don&#8217;t really understand the value of validation. In brief, validation is work for you, not against.</p>
<p>If you just started web design, I strongly recommend this web develop toolbar which called Web Developer 1.1.8. You can download it on Internet and and use the “Validate HTML” and “Validate CSS” options continuously. CSS is not only a easy language to learn, but also a hard nut to crack. You&#8217;ll find that it&#8217;s your inexact makeup that cause lots of problems. Therefore, the best way is validation, validation and validation.</p>
<p>8. <b>Use H1-H6 Tags</b></p>
<p>It is recommended to use all six of these tags in page, although most people only use the top four. There will be a lot of advantages when the maximum are used, so force yourself to replace that P tag with an H6 when appropriate.</p>
<p>9. <b>If Building a Blog, Save the H1 for the Article Title</b></p>
<p><a href="http://www.donotyet.com/wp-content/uploads/2009/10/clip_image004.jpg"><img title="clip_image004" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="215" alt="clip_image004" src="http://www.donotyet.com/wp-content/uploads/2009/10/clip_image004_thumb.jpg" width="504" border="0" /></a></p>
<p>Though it is depend on your needs and your website, I recommend that when you build a blog, save the H1 for the article title. It really do good to SEO, so you&#8217;d better try this. </p>
<p>10. <b>Wrap Navigation with an Unordered List</b></p>
<p><a href="http://www.donotyet.com/wp-content/uploads/2009/10/clip_image006.jpg"><img title="clip_image006" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="96" alt="clip_image006" src="http://www.donotyet.com/wp-content/uploads/2009/10/clip_image006_thumb.jpg" width="504" border="0" /></a></p>
<p>Websites usually have their navigation and you can formate it like this</p>
<div class="hl-surround"><ol class="hl-main ln-show" title="Double click to hide line number." ondblclick = "linenumber(this)"><li class="hl-firstline"><span style="color: Olive;">&lt;</span><span style="color: Green;">div</span><span style="color: Gray;"> </span><span style="color: #00008b;">id</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">nav</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">&gt;</span></li>
<li><span style="color: Olive;">&lt;</span><span style="color: Green;">a</span><span style="color: Gray;">&nbsp;</span><span style="color: #00008b;">href</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">#</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">&gt;</span><span style="color: Gray;">Home </span><span style="color: Olive;">&lt;/</span><span style="color: Green;">a</span><span style="color: Olive;">&gt;</span></li>
<li><span style="color: Olive;">&lt;</span><span style="color: Green;">a</span><span style="color: Gray;">&nbsp;</span><span style="color: #00008b;">href</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">#</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">&gt;</span><span style="color: Gray;">About </span><span style="color: Olive;">&lt;/</span><span style="color: Green;">a</span><span style="color: Olive;">&gt;</span></li>
<li><span style="color: Olive;">&lt;</span><span style="color: Green;">a</span><span style="color: Gray;">&nbsp;</span><span style="color: #00008b;">href</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">#</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">&gt;</span><span style="color: Gray;">Contact </span><span style="color: Olive;">&lt;/</span><span style="color: Green;">a</span><span style="color: Olive;">&gt;</span></li>
<li><span style="color: Olive;">&lt;/</span><span style="color: Green;">div</span><span style="color: Olive;">&gt;</span></li></ol></div>
<p>But you&#8217;d better not do this if you want write much better code. UL tag is meant to contain items, so it&#8217;s better to formate it like this</p>
<div class="hl-surround"><ol class="hl-main ln-show" title="Double click to hide line number." ondblclick = "linenumber(this)"><li class="hl-firstline"><span style="color: Olive;">&lt;</span><span style="color: Green;">ul</span><span style="color: Gray;"> </span><span style="color: #00008b;">id</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">nav</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">&gt;</span></li>
<li><span style="color: Olive;">&lt;</span><span style="color: Green;">li</span><span style="color: Olive;">&gt;&lt;</span><span style="color: Green;">a</span><span style="color: Gray;">&nbsp;</span><span style="color: #00008b;">href</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">#</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">&gt;</span><span style="color: Gray;">Home</span><span style="color: Olive;">&lt;/</span><span style="color: Green;">a</span><span style="color: Olive;">&gt;&lt;/</span><span style="color: Green;">li</span><span style="color: Olive;">&gt;</span></li>
<li><span style="color: Olive;">&lt;</span><span style="color: Green;">li</span><span style="color: Olive;">&gt;&lt;</span><span style="color: Green;">a</span><span style="color: Gray;">&nbsp;</span><span style="color: #00008b;">href</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">#</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">&gt;</span><span style="color: Gray;">About</span><span style="color: Olive;">&lt;/</span><span style="color: Green;">a</span><span style="color: Olive;">&gt;&lt;/</span><span style="color: Green;">li</span><span style="color: Olive;">&gt;</span></li>
<li><span style="color: Olive;">&lt;</span><span style="color: Green;">li</span><span style="color: Olive;">&gt;&lt;</span><span style="color: Green;">a</span><span style="color: Gray;">&nbsp;</span><span style="color: #00008b;">href</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">#</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">&gt;</span><span style="color: Gray;">Contact</span><span style="color: Olive;">&lt;/</span><span style="color: Green;">a</span><span style="color: Olive;">&gt;&lt;/</span><span style="color: Green;">li</span><span style="color: Olive;">&gt;</span></li>
<li><span style="color: Olive;">&lt;/</span><span style="color: Green;">ul</span><span style="color: Olive;">&gt;</span></li></ol></div>
<h3>Related Posts</h3>
<ul class="related_post">
<li><a href="http://www.donotyet.com/2009/12/08/dreamweaver8-tutorial-how-to-limit-the-time-of-viewing-the-web-page/" title="Dreamweaver 8.0 Tutorial&#8212;How To Limit The Time Of Viewing The Web Page">Dreamweaver 8.0 Tutorial&#8212;How To Limit The Time Of Viewing The Web Page</a></li>
<li><a href="http://www.donotyet.com/2009/12/07/dreamweaver8-tutorial-forbid-the-viewers-to-copy-the-webpage-content-by-using-html-codes/" title="Dreamweaver 8.0 Tutorial&#8212;Forbid The Viewers To Copy The Webpage Content By Using HTML Codes">Dreamweaver 8.0 Tutorial&#8212;Forbid The Viewers To Copy The Webpage Content By Using HTML Codes</a></li>
<li><a href="http://www.donotyet.com/2009/11/08/how-to-speed-up-in-adobe-photoshop-using-27-shortcut-keys/" title="How to Speed up in Adobe PhotoShop &ndash; Using 27 Shortcut Keys">How to Speed up in Adobe PhotoShop &ndash; Using 27 Shortcut Keys</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.donotyet.com/2009/10/07/10-useful-tips-for-html-coding/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
