<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-578815938541519252</id><updated>2012-02-16T05:59:55.231-08:00</updated><category term='codes'/><category term='source'/><category term='jquery'/><category term='amazing'/><category term='buttons'/><category term='css'/><category term='tutorials'/><category term='howto'/><category term='html'/><category term='stunning'/><category term='design'/><category term='layout'/><category term='xhtml'/><category term='sliding'/><category term='themes'/><category term='backgrounds'/><category term='wordpress'/><title type='text'>Amazing JQuery Tricks , enjoy :)</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://jquery-tricks.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/578815938541519252/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://jquery-tricks.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>SoMeOnE</name><uri>http://www.blogger.com/profile/12328046872530550213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>7</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-578815938541519252.post-7634097212962922514</id><published>2009-08-20T08:50:00.000-07:00</published><updated>2009-08-20T08:52:06.063-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xhtml'/><category scheme='http://www.blogger.com/atom/ns#' term='sliding'/><category scheme='http://www.blogger.com/atom/ns#' term='stunning'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorials'/><category scheme='http://www.blogger.com/atom/ns#' term='layout'/><category scheme='http://www.blogger.com/atom/ns#' term='howto'/><category scheme='http://www.blogger.com/atom/ns#' term='design'/><category scheme='http://www.blogger.com/atom/ns#' term='source'/><category scheme='http://www.blogger.com/atom/ns#' term='buttons'/><category scheme='http://www.blogger.com/atom/ns#' term='wordpress'/><category scheme='http://www.blogger.com/atom/ns#' term='amazing'/><category scheme='http://www.blogger.com/atom/ns#' term='backgrounds'/><category scheme='http://www.blogger.com/atom/ns#' term='jquery'/><category scheme='http://www.blogger.com/atom/ns#' term='themes'/><category scheme='http://www.blogger.com/atom/ns#' term='html'/><category scheme='http://www.blogger.com/atom/ns#' term='codes'/><category scheme='http://www.blogger.com/atom/ns#' term='css'/><title type='text'>How to: CSS Large Background</title><content type='html'>&lt;p class="intro"&gt;Since I posted the huge collection of &lt;a href="http://www.webdesignerwall.com/trends/80-large-background-websites/"&gt;Large Background Websites&lt;/a&gt;, I received several email requests on how to make a large background site with CSS. So, I thought it would be a good idea to share my techniques on designing large background websites. In this tutorial, I will provide various CSS examples on how you can create a large background site using either a single or double images.&lt;span id="more-190"&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;h3&gt;&lt;em&gt;Common Mistake:&lt;/em&gt; Background Gets Cropped &lt;small&gt;(see &lt;a href="http://www.webdesignerwall.com/demo/large-background/bad-example.html"&gt;demo&lt;/a&gt;)&lt;/small&gt;&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;Take a look at the &lt;a href="http://www.webdesignerwall.com/demo/large-background/bad-example.html"&gt;demo&lt;/a&gt; file, it looks fine under 1280px. But if you have a high resolution display, you will see the background gets cut off on the sides.&lt;/p&gt;&lt;br /&gt;&lt;p class="image"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/10/background-cuts-off.jpg" alt="background cuts off"&gt;&lt;/p&gt;&lt;br /&gt;&lt;h3&gt;&lt;em&gt;Example #1:&lt;/em&gt; Single Image &lt;small&gt;(see &lt;a href="http://www.webdesignerwall.com/demo/large-background/wdw-example.html"&gt;demo&lt;/a&gt;)&lt;/small&gt;&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;A quick solution to fix the problem mentioned earlier: make the edge of the image the same color as the &lt;code&gt;BODY&lt;/code&gt; background color. Here, I’m going to use Web Designer Wall as an example. Take a look at the &lt;a href="http://www.webdesignerwall.com/demo/large-background/images/wdw-bg.jpg"&gt;image&lt;/a&gt; below and notice the edge is a solid color?&lt;/p&gt;&lt;br /&gt;&lt;p class="image"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/10/wdw-bg-image.jpg" alt="WDW background image"&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;CSS Part&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;The CSS part is very simple. Specify the background image (position it center, top)  for the &lt;code&gt;BODY&lt;/code&gt; element.&lt;/p&gt;&lt;br /&gt;&lt;p class="image"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/10/wdw-css-overview.jpg" alt="CSS overview"&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Here is the CSS code:&lt;/p&gt;&lt;br /&gt;&lt;pre&gt;&lt;code class="css"&gt;&lt;span class="keyword"&gt;body&lt;/span&gt; &lt;span class="rules"&gt;{&lt;br /&gt;  &lt;span class="keyword"&gt;padding&lt;/span&gt;:&lt;span class="value"&gt; 0&lt;/span&gt;;&lt;br /&gt;  &lt;span class="keyword"&gt;margin&lt;/span&gt;:&lt;span class="value"&gt; 0&lt;/span&gt;;&lt;br /&gt;  &lt;span class="keyword"&gt;background&lt;/span&gt;:&lt;span class="value"&gt; #f8f7e5 url(wdw-bg.jpg) no-repeat center top&lt;/span&gt;;&lt;br /&gt;&lt;br /&gt;  &lt;span class="keyword"&gt;width&lt;/span&gt;:&lt;span class="value"&gt; 100%&lt;/span&gt;;&lt;br /&gt;  &lt;span class="keyword"&gt;display&lt;/span&gt;:&lt;span class="value"&gt; table&lt;/span&gt;;&lt;br /&gt;}&lt;/span&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;Notice there are two extra lines in the &lt;code&gt;BODY&lt;/code&gt; selector. That is to prevent the background image from shifting when you resize the browser smaller than the content width (it happens in Firefox).&lt;/p&gt;&lt;br /&gt;&lt;p class="image"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/10/firefox-bug.jpg" alt="Firefox bug"&gt;&lt;/p&gt;&lt;br /&gt;&lt;h3&gt;&lt;em&gt;Example #2:&lt;/em&gt; Double Images &lt;small&gt;(see &lt;a href="http://www.webdesignerwall.com/demo/large-background/cork-board.html"&gt;demo&lt;/a&gt;)&lt;/small&gt;&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;For this example, I’m going to use the job board design, &lt;a href="http://jobs.webdesignerwall.com"&gt;Design Jobs on the Wall&lt;/a&gt;. I have a cork board pattern repeating in the &lt;code&gt;BODY&lt;/code&gt; tag and a wrapper background in the center.&lt;/p&gt;&lt;br /&gt;&lt;p class="image"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/10/cork-board.jpg" alt="cork board"&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;The trick here is to export the GIF matte with a brown color that is similar to the cork board pattern.&lt;/p&gt;&lt;br /&gt;&lt;p class="image"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/10/corkboard-top-bg.jpg" alt="cork board overlay background"&gt;&lt;/p&gt;&lt;br /&gt;&lt;h3&gt;&lt;em&gt;Example #3:&lt;/em&gt; Sky Background &lt;small&gt;(see &lt;a href="http://www.webdesignerwall.com/demo/large-background/sky-background.html"&gt;demo&lt;/a&gt;)&lt;/small&gt;&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;In this example, I have a 1px gradient that is repeated horizontally for the &lt;code&gt;BODY&lt;/code&gt; tag. Then I attached a cloud background in the center of the &lt;code&gt;#wrapper&lt;/code&gt; tag.&lt;/p&gt;&lt;br /&gt;&lt;p class="image"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/10/sky-bg-overview.jpg" alt="sky background"&gt;&lt;/p&gt;&lt;br /&gt;&lt;h3&gt;&lt;em&gt;Update:&lt;/em&gt; Sky Background Using HTML Selector &lt;small&gt;(see &lt;a href="http://www.webdesignerwall.com/demo/large-background/sky-background-2.html"&gt;demo&lt;/a&gt;)&lt;/small&gt;&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;Thanks to the comments from the readers. Below is an example of the sky background using HTML selector to display the gradient background, so the &lt;code&gt;#wrapper&lt;/code&gt; DIV tag is not required. It is a much more cleaner approach.&lt;/p&gt;&lt;br /&gt;&lt;p class="image"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/10/sky-bg-using-html.jpg" alt="sky background 2"&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Download the &lt;a href="http://www.webdesignerwall.com/file/css-large-background.zip"&gt;demo zip&lt;/a&gt; now and don’t forget to check out the &lt;a href="http://www.webdesignerwall.com/trends/80-large-background-websites/"&gt;Large Background Websites&lt;/a&gt;.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Credits: thanks to Alex from &lt;a href="http://www.markup4u.com"&gt;markup4u.com&lt;/a&gt; for the {width: 100%; display: table} CSS trick.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/578815938541519252-7634097212962922514?l=jquery-tricks.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jquery-tricks.blogspot.com/feeds/7634097212962922514/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jquery-tricks.blogspot.com/2009/08/how-to-css-large-background.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/578815938541519252/posts/default/7634097212962922514'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/578815938541519252/posts/default/7634097212962922514'/><link rel='alternate' type='text/html' href='http://jquery-tricks.blogspot.com/2009/08/how-to-css-large-background.html' title='How to: CSS Large Background'/><author><name>SoMeOnE</name><uri>http://www.blogger.com/profile/12328046872530550213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-578815938541519252.post-8243031354102978760</id><published>2009-08-20T08:49:00.000-07:00</published><updated>2009-08-20T08:50:26.511-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xhtml'/><category scheme='http://www.blogger.com/atom/ns#' term='sliding'/><category scheme='http://www.blogger.com/atom/ns#' term='stunning'/><category scheme='http://www.blogger.com/atom/ns#' term='layout'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorials'/><category scheme='http://www.blogger.com/atom/ns#' term='design'/><category scheme='http://www.blogger.com/atom/ns#' term='source'/><category scheme='http://www.blogger.com/atom/ns#' term='buttons'/><category scheme='http://www.blogger.com/atom/ns#' term='wordpress'/><category scheme='http://www.blogger.com/atom/ns#' term='amazing'/><category scheme='http://www.blogger.com/atom/ns#' term='jquery'/><category scheme='http://www.blogger.com/atom/ns#' term='html'/><category scheme='http://www.blogger.com/atom/ns#' term='themes'/><category scheme='http://www.blogger.com/atom/ns#' term='codes'/><category scheme='http://www.blogger.com/atom/ns#' term='css'/><title type='text'>Building Custom WordPress Theme</title><content type='html'>&lt;p class="intro"&gt;This is the Chapter II of the &lt;a href="http://www.webdesignerwall.com/tutorials/complete-wordpress-theme-guide/"&gt;Complete WordPress Theme Guide&lt;/a&gt; series. This chapter will show you how to build a custom WordPress theme. Although  the &lt;a href="http://codex.wordpress.org/Main_Page"&gt;Codex&lt;/a&gt; site provides very good documentations on how to create a theme, but I find it too complicated for a beginner. In this tutorial, I will explain the basics  of how WordPress theme works and show you how to convert a static HTML template into a theme. No PHP skill is required, but you need Photoshop and CSS skills to create your own design.&lt;span id="more-194"&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;h3&gt;&lt;em&gt;1.&lt;/em&gt; The Blog Frontend&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;Before you start, let’s take a look at the WordPress default theme and see how it is structured. Take note of the elements (header, post title, search form, navigation, footer, etc.).&lt;/p&gt;&lt;br /&gt;&lt;p class="image"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/11/default-homepage.gif" alt="default homepage"&gt; &lt;em&gt;Default Frontpage (index.php)&lt;/em&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class="image"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/11/default-single.gif" alt="default homepage"&gt; &lt;em&gt;Default Single (single.php)&lt;/em&gt;&lt;/p&gt;&lt;br /&gt;&lt;h3&gt;&lt;em&gt;2.&lt;/em&gt; Photoshop Mockups&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;Based on the information gathered from the default theme, design a Photoshop mockup of your blog. Here I’m using &lt;a href="http://www.ndesign-studio.com/resources/wp-themes/glossyblue/"&gt;GlossyBlue&lt;/a&gt;, one of my free &lt;a href="http://www.ndesign-studio.com/resources/wp-themes/"&gt;WordPress themes&lt;/a&gt;, as an example. Download the &lt;a href="http://www.webdesignerwall.com/file/wordpress-theme-demo.zip"&gt;demo.zip&lt;/a&gt; to see the Photoshop file.&lt;/p&gt;&lt;br /&gt;&lt;p class="image"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/11/photoshop-mockup.gif" alt="default homepage"&gt;&lt;/p&gt;&lt;br /&gt;&lt;h3&gt;&lt;em&gt;3.&lt;/em&gt; HTML + CSS&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;After the PSD design is done, create a static HTML+CSS template of each page. You can use my GlossyBlue HTML files in the &lt;a href="http://www.webdesignerwall.com/file/wordpress-theme-demo.zip"&gt;demo.zip&lt;/a&gt; to follow this tutorial. Extract the zip and take a look at the &lt;em&gt;index.html&lt;/em&gt;, &lt;em&gt;single.html&lt;/em&gt;, and &lt;em&gt;page.html&lt;/em&gt;. Later in the tutorial, I will use these HTML files and convert them into a theme.&lt;/p&gt;&lt;br /&gt;&lt;p class="image"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/11/html-css-template.gif" alt="default homepage"&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;Why Create a Static HTML File First?&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;Mainly because it will make the development process a lot easier. I usually create a HTML file for every template that I need, test it across all browsers, validate both HTML and CSS markups, then all I have to do is cut &amp;amp; paste the WordPress code. By doing so, I don’t have to worry about HTML or CSS bugs during my theme making process.&lt;/p&gt;&lt;br /&gt;&lt;h3&gt;&lt;em&gt;4.&lt;/em&gt; How WordPress Theme Works&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;If you go the default theme folder (&lt;em&gt;wp-content/themes/default&lt;/em&gt;), you should see  many PHP files (called template file) and one &lt;em&gt;style.css&lt;/em&gt; file. When you are viewing the front page, WordPress actually uses several template files to generate the page (&lt;em&gt;index.php&lt;/em&gt; &amp;lt;&amp;lt; &lt;em&gt;header.php&lt;/em&gt;, &lt;em&gt;sidebar.php&lt;/em&gt;, and &lt;em&gt;footer.php&lt;/em&gt;).&lt;/p&gt;&lt;br /&gt;&lt;p class="image"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/11/how-theme-works.gif" alt="how theme works"&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;For more details, check out &lt;a href="http://codex.wordpress.org/Site_Architecture_1.5"&gt;Site Architecture&lt;/a&gt; and &lt;a href="http://codex.wordpress.org/Template_Hierarchy"&gt;Template Hierarchy&lt;/a&gt; at Codex.&lt;/p&gt;&lt;br /&gt;&lt;h3&gt;&lt;em&gt;5.&lt;/em&gt; Duplicate The Template Files&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;Copy the GlossyBlue HTML folder into the &lt;em&gt;wp-content/themes&lt;/em&gt; folder. Then, go to the &lt;em&gt;default&lt;/em&gt; theme folder, copy the &lt;em&gt;comments.php&lt;/em&gt; and &lt;em&gt;searchform.php&lt;/em&gt; file to the &lt;em&gt;glossyblue&lt;/em&gt; folder.&lt;/p&gt;&lt;br /&gt;&lt;p class="image"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/11/copy-files.gif" alt="copy files"&gt;&lt;/p&gt;&lt;br /&gt;&lt;h3&gt;&lt;em&gt;6.&lt;/em&gt; Style.css&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;Go to the WordPress &lt;em&gt;default&lt;/em&gt; theme folder, open the &lt;em&gt;style.css&lt;/em&gt; file. Copy the commented code at the top and paste it to the GlossyBlue &lt;em&gt;style.css&lt;/em&gt; file. Change the theme name and the author information as you desire.&lt;/p&gt;&lt;br /&gt;&lt;p class="image"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/11/css-commented-code.gif" alt="theme name and author's information"&gt;&lt;/p&gt;&lt;br /&gt;&lt;h3&gt;&lt;em&gt;7.&lt;/em&gt; Splitting The Files&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;Now you need to understand where to split the file into several files: &lt;em&gt;header.php&lt;/em&gt;, &lt;em&gt;sidebar.php&lt;/em&gt;, and &lt;em&gt;footer.php&lt;/em&gt;. The image below shows a simplified version of my &lt;em&gt;index&lt;/em&gt; file and how the markups should split.&lt;/p&gt;&lt;br /&gt;&lt;p class="image"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/11/splitting-files.gif" alt="splitting files"&gt;&lt;/p&gt;&lt;br /&gt;&lt;h3&gt;&lt;em&gt;8.&lt;/em&gt; Header.php&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;Open the &lt;em&gt;index.html&lt;/em&gt; file. Cut from the top to where the &lt;code&gt;&amp;lt;!--/header --&amp;gt;&lt;/code&gt; ends, paste it in a new PHP file, and save the file as &lt;em&gt;header.php&lt;/em&gt;.&lt;/p&gt;&lt;br /&gt;&lt;p class="image"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/11/header-code.gif" alt="header code"&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Go to the &lt;em&gt;default&lt;/em&gt; theme folder, open the &lt;em&gt;header.php&lt;/em&gt;. Copy and replace the tags where it requires PHP code (Template Tag): &lt;code&gt;&amp;lt;title&amp;gt;&lt;/code&gt;, &lt;code&gt;&amp;lt;link&amp;gt;&lt;/code&gt; stylesheet, &lt;code&gt;&amp;lt;h1&amp;gt;,&lt;/code&gt; and &lt;code&gt;&amp;lt;div class=description&amp;gt;&lt;/code&gt;.&lt;/p&gt;&lt;br /&gt;&lt;p class="image"&gt;&lt;a href="http://www.webdesignerwall.com/wp-content/uploads/2008/11/header-zoom.gif" class="thickbox"&gt;&lt;span class="zoom"&gt;&lt;/span&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/11/header.gif" alt="replace code"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;Navigation Menu (wp_list_pages)&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;Replace the &lt;code&gt;&amp;lt;li&amp;gt;&lt;/code&gt; tags in the &lt;code&gt;&amp;lt;ul id=nav&amp;gt;&lt;/code&gt; with &lt;code&gt;&amp;lt;?php wp_list_pages('sort_column=menu_order&amp;amp;depth=1&amp;amp;title_li=');?&amp;gt;&lt;/code&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class="image"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/11/navigation-menu.gif" alt="replace code"&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Reference: &lt;a href="http://codex.wordpress.org/Template_Tags/wp_list_pages"&gt;wp_list_pages&lt;/a&gt;.&lt;/p&gt;&lt;br /&gt;&lt;h3&gt;&lt;em&gt;9.&lt;/em&gt; Sidebar.php&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;Back to  the &lt;em&gt;index.html&lt;/em&gt; file, cut from where the &lt;code&gt;&amp;lt;form id=searchform&amp;gt;&lt;/code&gt; start to the closing tag of &lt;code&gt;&amp;lt;div id=sidebar&amp;gt;&lt;/code&gt; and paste it in a new PHP file, save it as &lt;em&gt;sidebar.php&lt;/em&gt;.&lt;/p&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;Replace the &lt;code&gt;&amp;lt;form id=searchform&amp;gt;&lt;/code&gt; wrap with &lt;code&gt;&amp;lt;?php include (TEMPLATEPATH . '/searchform.php'); ?&amp;gt;&lt;/code&gt;.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Replace the category &lt;code&gt;&amp;lt;li&amp;gt;&lt;/code&gt; tags with &lt;code&gt;&amp;lt;?php wp_list_categories('show_count=1&amp;amp;title_li='); ?&amp;gt;&lt;/code&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Replace the archive  &lt;code&gt;&amp;lt;li&amp;gt;&lt;/code&gt; tags with &lt;code&gt;&amp;lt;?php wp_get_archives('type=monthly'); ?&amp;gt;&lt;/code&gt;&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;p class="image"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/11/sidebar-code.gif" alt="sidebar"&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;References: &lt;a href="http://codex.wordpress.org/Template_Tags/wp_list_categories"&gt;wp_list_categories&lt;/a&gt; and &lt;a href="http://codex.wordpress.org/Template_Tags/wp_get_archives"&gt;wp_get_archives&lt;/a&gt;.&lt;/p&gt;&lt;br /&gt;&lt;h3&gt;&lt;em&gt;10.&lt;/em&gt; Footer.php&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;Back to  the &lt;em&gt;index.html&lt;/em&gt; file, cut from the &lt;code&gt;&amp;lt;div id=footer&amp;gt;&lt;/code&gt; tag to the end of &lt;code&gt;&amp;lt;/html&amp;gt;&lt;/code&gt; and paste it in a new PHP file, save it as &lt;em&gt;footer.php&lt;/em&gt;.&lt;/p&gt;&lt;br /&gt;&lt;p class="image"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/11/footer.gif" alt="footer"&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;Recent Posts&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;Here I  used the &lt;a href="http://codex.wordpress.org/Template_Tags/query_posts"&gt;query_post&lt;/a&gt; to display the 5 latest posts.&lt;/p&gt;&lt;br /&gt;&lt;p class="image"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/11/recent-posts.gif" alt="recent posts"&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;Recent Comments&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;Recent comments are generated by a plugin (included in the theme folder).&lt;/p&gt;&lt;br /&gt;&lt;p class="image"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/11/recent-comments.gif" alt="recent comments"&gt;&lt;/p&gt;&lt;br /&gt;&lt;h3&gt;&lt;em&gt;11.&lt;/em&gt; Index.php&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;Now in your &lt;em&gt;index.html&lt;/em&gt; file, you should only have the &lt;code&gt;&amp;lt;div id=content&amp;gt;&lt;/code&gt; wrap. Save the file as &lt;em&gt;index.php&lt;/em&gt;. Insert the line:&lt;code&gt;get_header&lt;/code&gt;, &lt;code&gt;get_sidebar&lt;/code&gt;, and &lt;code&gt;get_footer&lt;/code&gt; in the same order as your layout structure.&lt;/p&gt;&lt;br /&gt;&lt;p class="image"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/11/index.gif" alt="index"&gt;&lt;/p&gt;&lt;br /&gt;&lt;h3&gt;&lt;em&gt;12.&lt;/em&gt; Understanding The Loop&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;The image below illustrates how The Loop works.  The Loop is used to display  blog posts and it also lets you  control what to display. Basically, The Loop checks if there are posts in your blog, while there are posts, display it, if no post found, say "Not Found".&lt;/p&gt;&lt;br /&gt;&lt;p class="image"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/11/the-loop-explain.gif" alt="the loop"&gt;&lt;/p&gt;&lt;br /&gt;&lt;h3&gt;&lt;em&gt;13.&lt;/em&gt; Copy The Loop&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;Go to the &lt;em&gt;default&lt;/em&gt; theme folder, open the &lt;em&gt;index.php&lt;/em&gt; file. Copy The Loop from the default &lt;em&gt;index.php&lt;/em&gt; and paste it in between the &lt;code&gt;&amp;lt;div id=content&amp;gt;..&amp;lt;/div&amp;gt;&lt;/code&gt;. Then, replace the static text with the WordPress Template Tags: post date, title, category, comments, next and previous link.&lt;/p&gt;&lt;br /&gt;&lt;p class="image"&gt;&lt;a href="http://www.webdesignerwall.com/wp-content/uploads/2008/11/the-loop-zoom.gif" class="thickbox"&gt;&lt;span class="zoom"&gt;&lt;/span&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/11/the-loop.gif" alt="the Loop"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h3&gt;&lt;em&gt;14.&lt;/em&gt; Preview The Theme&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;Congrats! You’ve done the front page (the main part of the theme). Now, login to your admin panel, go to the Design tab, you should see the GlossyBlue theme, activate it and go to the front page to preview the theme.&lt;/p&gt;&lt;br /&gt;&lt;h3&gt;&lt;em&gt;15.&lt;/em&gt; Single.php&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;Now, it is time to do the &lt;em&gt;single.php&lt;/em&gt; template. If you want, you can go through the same process — cut &amp;amp; paste from the &lt;em&gt;default&lt;/em&gt; theme. But, I find it easier to use the &lt;em&gt;index.php&lt;/em&gt; that you just created and save it as &lt;em&gt;single.php&lt;/em&gt;. Open the &lt;em&gt;default&lt;/em&gt; theme &lt;em&gt;single.php&lt;/em&gt; file and copy the Template Tags over. Then include the &lt;code&gt;comments_template&lt;/code&gt;. The image below highlights what I’ve changed:&lt;/p&gt;&lt;br /&gt;&lt;p class="image"&gt;&lt;a href="http://www.webdesignerwall.com/wp-content/uploads/2008/11/single-zoom.gif" class="thickbox"&gt;&lt;span class="zoom"&gt;&lt;/span&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/11/single.gif" alt="single.php"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h3&gt;&lt;em&gt;16.&lt;/em&gt; Page.php&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;With the &lt;em&gt;single.php&lt;/em&gt; template you just created, save it as &lt;em&gt;page.php&lt;/em&gt;. Remove the post date, comment form, next/previous link… and that’s it.. there goes your &lt;em&gt;page.php&lt;/em&gt; template.&lt;/p&gt;&lt;br /&gt;&lt;h3&gt;&lt;em&gt;17.&lt;/em&gt; Delete The HTML Files&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;Delete all the HTML files in the &lt;em&gt;glossyblue&lt;/em&gt; folder (we don’t need them anymore). Technically, that is enough for a basic WordPress theme. You may notice there are more PHP files in the &lt;em&gt;default&lt;/em&gt; theme. Well, you don’t really need those files if you just want a basic theme. For example, if the &lt;em&gt;search.php&lt;/em&gt; or &lt;em&gt;404.php&lt;/em&gt; is not present in the theme folder, WordPress will automatically use the &lt;em&gt;index.php&lt;/em&gt; to render the page. Read the &lt;a href="http://codex.wordpress.org/Template_Hierarchy"&gt;Template Hierarchy&lt;/a&gt; for more details.&lt;/p&gt;&lt;br /&gt;&lt;h3&gt;&lt;em&gt;18.&lt;/em&gt; WordPress Page Template&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;Ok, final example. I will show you how to use &lt;a href="http://codex.wordpress.org/Pages"&gt;Page Template&lt;/a&gt; to create an archive page that will list all posts on your blog (good for sitemap). Copy the  &lt;em&gt;archives.php&lt;/em&gt; file from the &lt;em&gt;default&lt;/em&gt; theme folder. Delete the unwanted code and you should have something like this:&lt;/p&gt;&lt;br /&gt;&lt;p class="image"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/11/archives-template.gif" alt="Archives template"&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Here I’m using  the &lt;a href="http://codex.wordpress.org/Template_Tags/query_posts"&gt;query_post&lt;/a&gt; (&lt;code&gt;showposts=-1&lt;/code&gt; means display all posts) to display a list of all posts.&lt;/p&gt;&lt;br /&gt;&lt;p class="image"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/11/archives-queryposts.gif" alt="Archives query posts"&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Now, login to your admin panel, write a new page, title it Archives. On the Page Template dropdown, select Archives.&lt;/p&gt;&lt;br /&gt;&lt;p class="image"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/11/archives-page.gif" alt="Archives page"&gt;&lt;/p&gt;&lt;br /&gt;&lt;h3&gt;More Reading:&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;Check out a list of &lt;a href="http://www.webdesignerwall.com/general/useful-wordpress-plugins/"&gt;WordPress Plugins&lt;/a&gt; that you may find useful. For more advance theme coding, read my &lt;a href="http://www.webdesignerwall.com/tutorials/wordpress-theme-hacks/"&gt;WordPress Theme Hacks&lt;/a&gt;.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/578815938541519252-8243031354102978760?l=jquery-tricks.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jquery-tricks.blogspot.com/feeds/8243031354102978760/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jquery-tricks.blogspot.com/2009/08/building-custom-wordpress-theme.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/578815938541519252/posts/default/8243031354102978760'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/578815938541519252/posts/default/8243031354102978760'/><link rel='alternate' type='text/html' href='http://jquery-tricks.blogspot.com/2009/08/building-custom-wordpress-theme.html' title='Building Custom WordPress Theme'/><author><name>SoMeOnE</name><uri>http://www.blogger.com/profile/12328046872530550213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-578815938541519252.post-1648537924524947534</id><published>2009-08-20T08:47:00.000-07:00</published><updated>2009-08-20T08:49:04.263-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xhtml'/><category scheme='http://www.blogger.com/atom/ns#' term='sliding'/><category scheme='http://www.blogger.com/atom/ns#' term='stunning'/><category scheme='http://www.blogger.com/atom/ns#' term='layout'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorials'/><category scheme='http://www.blogger.com/atom/ns#' term='design'/><category scheme='http://www.blogger.com/atom/ns#' term='source'/><category scheme='http://www.blogger.com/atom/ns#' term='buttons'/><category scheme='http://www.blogger.com/atom/ns#' term='amazing'/><category scheme='http://www.blogger.com/atom/ns#' term='jquery'/><category scheme='http://www.blogger.com/atom/ns#' term='html'/><category scheme='http://www.blogger.com/atom/ns#' term='codes'/><category scheme='http://www.blogger.com/atom/ns#' term='css'/><title type='text'>HTML 5 and CSS 3: The Techniques You’ll Soon Be Using</title><content type='html'>&lt;h3&gt;What We Are Going to Build&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;This is what our page is going to look like when finished:&lt;/p&gt;&lt;br /&gt;&lt;div class="tutorial_image"&gt;&lt;br /&gt;&lt;img original="http://nettuts.s3.amazonaws.com/373_html5/final.jpg" src="http://nettuts.s3.amazonaws.com/373_html5/final.jpg" alt="Diagram of basic structure"&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;Pretty much your every day blog design. Header with title, horizontal navigation, content area with comments and form, sidebar and a footer. Nothing too special. Let's get building.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;HTML 5&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;HTML 5 is the next major version of HTML. It introduces a bunch of new elements that will make our pages more semantic. This will make it a lot easier for search engines and screenreaders to navigate our pages, and improve the web experience for everyone. In addition, HTML 5 will also include fancy APIs for drawing graphics on screen, storing data offline, dragging and dropping, and a lot more. Let's get started marking up the blog page.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Basic Structure&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;Before we begin marking up the page we should get the overall structure straight:&lt;/p&gt;&lt;br /&gt;&lt;div class="tutorial_image"&gt;&lt;br /&gt;&lt;img style="display: inline;" original="http://nettuts.s3.amazonaws.com/373_html5/structure.png" src="http://nettuts.s3.amazonaws.com/373_html5/structure.png" alt="Diagram of basic structure"&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;In HTML 5 there are specific tags meant for marking up the header, navigation, sidebar and footer. First, take a look at the markup and I'll explain afterwards:&lt;/p&gt;&lt;br /&gt;&lt;div class="dp-highlighter"&gt;&lt;div class="bar"&gt;&lt;div class="tools"&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('ViewSource',this);return false;"&gt;view plain&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('CopyToClipboard',this);return false;"&gt;copy to clipboard&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('PrintSource',this);return false;"&gt;print&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('About',this);return false;"&gt;?&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;ol class="dp-xml" start="1"&gt;&lt;li class="alt"&gt;&lt;span&gt;&lt;span&gt;&amp;lt;!doctype&amp;nbsp;html&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;html&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;head&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;title&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;Page&amp;nbsp;title&lt;/span&gt;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;title&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;head&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;body&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;header&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;h1&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;Page&amp;nbsp;title&lt;/span&gt;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;h1&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;header&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;nav&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="comments"&gt;&amp;lt;!--&amp;nbsp;Navigation&amp;nbsp;--&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;nav&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;section&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="attribute"&gt;id&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span class="attribute-value"&gt;"intro"&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="comments"&gt;&amp;lt;!--&amp;nbsp;Introduction&amp;nbsp;--&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;section&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;section&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="comments"&gt;&amp;lt;!--&amp;nbsp;Main&amp;nbsp;content&amp;nbsp;area&amp;nbsp;--&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;section&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;aside&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="comments"&gt;&amp;lt;!--&amp;nbsp;Sidebar&amp;nbsp;--&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;aside&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;footer&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="comments"&gt;&amp;lt;!--&amp;nbsp;Footer&amp;nbsp;--&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;footer&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;body&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;html&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;pre style="display: none;" name="code" class="html"&gt;&amp;lt;!doctype html&amp;gt;&lt;br /&gt;&amp;lt;html&amp;gt;&lt;br /&gt;&amp;lt;head&amp;gt;&lt;br /&gt; &amp;lt;title&amp;gt;Page title&amp;lt;/title&amp;gt;&lt;br /&gt;&amp;lt;/head&amp;gt;&lt;br /&gt;&amp;lt;body&amp;gt;&lt;br /&gt; &amp;lt;header&amp;gt;&lt;br /&gt;  &amp;lt;h1&amp;gt;Page title&amp;lt;/h1&amp;gt;&lt;br /&gt; &amp;lt;/header&amp;gt;&lt;br /&gt; &amp;lt;nav&amp;gt;&lt;br /&gt;  &amp;lt;!-- Navigation --&amp;gt;&lt;br /&gt; &amp;lt;/nav&amp;gt;&lt;br /&gt; &amp;lt;section id="intro"&amp;gt;&lt;br /&gt;  &amp;lt;!-- Introduction --&amp;gt;&lt;br /&gt; &amp;lt;/section&amp;gt;&lt;br /&gt; &amp;lt;section&amp;gt;&lt;br /&gt;  &amp;lt;!-- Main content area --&amp;gt;&lt;br /&gt; &amp;lt;/section&amp;gt;&lt;br /&gt; &amp;lt;aside&amp;gt;&lt;br /&gt;  &amp;lt;!-- Sidebar --&amp;gt;&lt;br /&gt; &amp;lt;/aside&amp;gt;&lt;br /&gt; &amp;lt;footer&amp;gt;&lt;br /&gt;  &amp;lt;!-- Footer --&amp;gt;&lt;br /&gt; &amp;lt;/footer&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/body&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;It still looks like HTML markup, but there are a few things to note:&lt;/p&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt; &lt;li&gt;&lt;br /&gt;  In HTML 5, there is only one doctype. It is declared in the beginning of the page by &amp;lt;!doctype html&amp;gt;. It simply tells the browser that it's dealing with an HTML-document.&lt;br /&gt; &lt;/li&gt;&lt;br /&gt; &lt;li&gt;&lt;br /&gt;  The new tag header is wrapped around introductory elements, such as the page title or a logo. It could also contain a table of contents or a search form. Every header typically contains a heading tag from &amp;lt;h1&amp;gt; to &amp;lt;h6&amp;gt;. In this case the header is used to introduce the whole page, but we'll use it to introduce a section of the page a little later.&lt;br /&gt; &lt;/li&gt;&lt;br /&gt; &lt;li&gt;&lt;br /&gt;  The nav-tag is used to contain navigational elements, such as the main navigation on a site or more specialized navigation like next/previous-links.&lt;br /&gt; &lt;/li&gt;&lt;br /&gt; &lt;li&gt;&lt;br /&gt;  The section-tag is used to denote a section in the document. It can contain all kinds of markup and multiple sections can be nested inside each other.&lt;br /&gt; &lt;/li&gt;&lt;br /&gt; &lt;li&gt;&lt;br /&gt;  aside is used to wrap around content related to the main content of the page that could still stand on it's own and make sense. In this case we're using it for the sidebar.&lt;br /&gt; &lt;/li&gt;&lt;br /&gt; &lt;li&gt;The footer-tag should contain additional information about the main content, such as info about who wrote it, copyright information, links to related documents and so on.&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;p&gt;Instead of using divs to contain different sections of the page we are now using appropriate, semantic tags. They will make it a lot easier for search engines and screen readers to figure out what's what in a page.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Marking Up the Navigation&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;The navigation is marked up exactly like we would do it in HTML 4 or XHTML, using an unordered list. The key is that this list is placed inside the nav-tags.&lt;/p&gt;&lt;br /&gt;&lt;div class="dp-highlighter"&gt;&lt;div class="bar"&gt;&lt;div class="tools"&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('ViewSource',this);return false;"&gt;view plain&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('CopyToClipboard',this);return false;"&gt;copy to clipboard&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('PrintSource',this);return false;"&gt;print&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('About',this);return false;"&gt;?&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;ol class="dp-xml" start="1"&gt;&lt;li class="alt"&gt;&lt;span&gt;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;nav&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;ul&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;li&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;a&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="attribute"&gt;href&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span class="attribute-value"&gt;"#"&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;Blog&lt;/span&gt;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;a&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;li&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;li&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;a&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="attribute"&gt;href&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span class="attribute-value"&gt;"#"&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;About&lt;/span&gt;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;a&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;li&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;li&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;a&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="attribute"&gt;href&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span class="attribute-value"&gt;"#"&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;Archives&lt;/span&gt;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;a&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;li&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;li&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;a&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="attribute"&gt;href&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span class="attribute-value"&gt;"#"&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;Contact&lt;/span&gt;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;a&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;li&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;li&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="attribute"&gt;class&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span class="attribute-value"&gt;"subscribe"&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;a&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="attribute"&gt;href&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span class="attribute-value"&gt;"#"&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;Subscribe&amp;nbsp;via.&amp;nbsp;RSS&lt;/span&gt;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;a&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;li&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;ul&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;nav&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;pre style="display: none;" name="code" class="html"&gt;&amp;lt;nav&amp;gt;&lt;br /&gt; &amp;lt;ul&amp;gt;&lt;br /&gt;  &amp;lt;li&amp;gt;&amp;lt;a href="#"&amp;gt;Blog&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;  &amp;lt;li&amp;gt;&amp;lt;a href="#"&amp;gt;About&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;  &amp;lt;li&amp;gt;&amp;lt;a href="#"&amp;gt;Archives&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;  &amp;lt;li&amp;gt;&amp;lt;a href="#"&amp;gt;Contact&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;  &amp;lt;li class="subscribe"&amp;gt;&amp;lt;a href="#"&amp;gt;Subscribe via. RSS&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt; &amp;lt;/ul&amp;gt;&lt;br /&gt;&amp;lt;/nav&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Marking Up the Introduction&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;We have already defined a new section in the document using the section tag. Now we just need some content.&lt;/p&gt;&lt;br /&gt;&lt;div class="dp-highlighter"&gt;&lt;div class="bar"&gt;&lt;div class="tools"&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('ViewSource',this);return false;"&gt;view plain&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('CopyToClipboard',this);return false;"&gt;copy to clipboard&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('PrintSource',this);return false;"&gt;print&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('About',this);return false;"&gt;?&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;ol class="dp-xml" start="1"&gt;&lt;li class="alt"&gt;&lt;span&gt;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;section&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="attribute"&gt;id&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span class="attribute-value"&gt;"intro"&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;header&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;h2&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;Do&amp;nbsp;you&amp;nbsp;love&amp;nbsp;flowers&amp;nbsp;as&amp;nbsp;much&amp;nbsp;as&amp;nbsp;we&amp;nbsp;do?&lt;/span&gt;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;h2&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;header&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;p&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;Lorem&amp;nbsp;ipsum&amp;nbsp;dolor&amp;nbsp;sit&amp;nbsp;amet,&amp;nbsp;consectetur&amp;nbsp;adipisicing&amp;nbsp;elit,&amp;nbsp;sed&amp;nbsp;do&amp;nbsp;eiusmod&amp;nbsp;tempor&amp;nbsp;incididunt&amp;nbsp;ut&amp;nbsp;labore&amp;nbsp;et&amp;nbsp;dolore&amp;nbsp;magna&amp;nbsp;aliqua.&amp;nbsp;Ut&amp;nbsp;enim&amp;nbsp;ad&amp;nbsp;minim&amp;nbsp;veniam,&amp;nbsp;quis&amp;nbsp;nostrud&amp;nbsp;exercitation&amp;nbsp;ullamco&amp;nbsp;laboris&amp;nbsp;nisi&amp;nbsp;ut.&lt;/span&gt;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;p&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;section&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;pre style="display: none;" name="code" class="html"&gt;&amp;lt;section id="intro"&amp;gt;&lt;br /&gt; &amp;lt;header&amp;gt;&lt;br /&gt;  &amp;lt;h2&amp;gt;Do you love flowers as much as we do?&amp;lt;/h2&amp;gt;&lt;br /&gt; &amp;lt;/header&amp;gt;&lt;br /&gt; &amp;lt;p&amp;gt;Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut.&amp;lt;/p&amp;gt;&lt;br /&gt;&amp;lt;/section&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;We add an id to the section tag so we can identify it later when styling. We use the header tag to wrap around the introductory h2 element. In addition to describing a whole document, the header-tag should also be used to describe individual sections.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Marking Up the Main Content Area&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;Our main content area consists of three sections: the blog post, the comments and the comment form. Using our knowledge about the new structural tags in HTML 5, it should be easy to mark it up.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Marking up the Blog Post&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;Go through the markup and I'll explain the new elements afterwards.&lt;/p&gt;&lt;br /&gt;&lt;div class="dp-highlighter"&gt;&lt;div class="bar"&gt;&lt;div class="tools"&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('ViewSource',this);return false;"&gt;view plain&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('CopyToClipboard',this);return false;"&gt;copy to clipboard&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('PrintSource',this);return false;"&gt;print&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('About',this);return false;"&gt;?&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;ol class="dp-xml" start="1"&gt;&lt;li class="alt"&gt;&lt;span&gt;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;section&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;article&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="attribute"&gt;class&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span class="attribute-value"&gt;"blogPost"&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;header&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;h2&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;This&amp;nbsp;is&amp;nbsp;the&amp;nbsp;title&amp;nbsp;of&amp;nbsp;a&amp;nbsp;blog&amp;nbsp;post&lt;/span&gt;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;h2&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;p&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;Posted&amp;nbsp;on&amp;nbsp;&lt;/span&gt;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;time&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="attribute"&gt;datetime&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span class="attribute-value"&gt;"2009-06-29T23:31:45+01:00"&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;June&amp;nbsp;29th&amp;nbsp;2009&lt;/span&gt;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;time&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;by&amp;nbsp;&lt;/span&gt;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;a&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="attribute"&gt;href&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span class="attribute-value"&gt;"#"&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;Mads&amp;nbsp;Kjaer&lt;/span&gt;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;a&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;-&amp;nbsp;&lt;/span&gt;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;a&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="attribute"&gt;href&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span class="attribute-value"&gt;"#comments"&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;3&amp;nbsp;comments&lt;/span&gt;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;a&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;p&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;header&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;p&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;Lorem&amp;nbsp;ipsum&amp;nbsp;dolor&amp;nbsp;sit&amp;nbsp;amet,&amp;nbsp;consectetur&amp;nbsp;adipiscing&amp;nbsp;elit.&amp;nbsp;Proin&amp;nbsp;euismod&amp;nbsp;tellus&amp;nbsp;eu&amp;nbsp;orci&amp;nbsp;imperdiet&amp;nbsp;nec&amp;nbsp;rutrum&amp;nbsp;lacus&amp;nbsp;blandit.&amp;nbsp;Cras&amp;nbsp;enim&amp;nbsp;nibh,&amp;nbsp;sodales&amp;nbsp;ultricies&amp;nbsp;elementum&amp;nbsp;vel,&amp;nbsp;fermentum&amp;nbsp;id&amp;nbsp;tellus.&amp;nbsp;Proin&amp;nbsp;metus&amp;nbsp;odio,&amp;nbsp;ultricies&amp;nbsp;eu&amp;nbsp;pharetra&amp;nbsp;dictum,&amp;nbsp;laoreet&amp;nbsp;id&amp;nbsp;odio...&lt;/span&gt;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;p&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;article&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;section&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;pre style="display: none;" name="code" class="html"&gt;&amp;lt;section&amp;gt;&lt;br /&gt; &amp;lt;article class="blogPost"&amp;gt;&lt;br /&gt;  &amp;lt;header&amp;gt;&lt;br /&gt;   &amp;lt;h2&amp;gt;This is the title of a blog post&amp;lt;/h2&amp;gt;&lt;br /&gt;   &amp;lt;p&amp;gt;Posted on &amp;lt;time datetime="2009-06-29T23:31:45+01:00"&amp;gt;June 29th 2009&amp;lt;/time&amp;gt; by &amp;lt;a href="#"&amp;gt;Mads Kjaer&amp;lt;/a&amp;gt; - &amp;lt;a href="#comments"&amp;gt;3 comments&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;  &amp;lt;/header&amp;gt;&lt;br /&gt;  &amp;lt;p&amp;gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin euismod tellus eu orci imperdiet nec rutrum lacus blandit. Cras enim nibh, sodales ultricies elementum vel, fermentum id tellus. Proin metus odio, ultricies eu pharetra dictum, laoreet id odio...&amp;lt;/p&amp;gt;&lt;br /&gt; &amp;lt;/article&amp;gt;&lt;br /&gt;&amp;lt;/section&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;We start a new section and wrap the whole blog post in an article-tag. The article tag is used to denote an independent entry in a blog, discussion, encyclopedia, etc. and is ideal to use here. Since we are viewing the details of a single post we only have one article, but on the front page of the blog we would wrap each post in an article-tag.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;The header element is used to present the header and metadata about the blog post. We tell the user when the post was written, who wrote it and how many comments it has. Note that the timestamp is wrapped in a &lt;time&gt;-tag. This tag is also new to HTML 5 and is used to mark up a specific place in time. The contents of the datetime attribute should be:&lt;/time&gt;&lt;/p&gt;&lt;br /&gt;&lt;div class="tutorial_image"&gt;&lt;br /&gt;&lt;img style="display: inline;" original="http://nettuts.s3.amazonaws.com/373_html5/time.png" src="http://nettuts.s3.amazonaws.com/373_html5/time.png" alt="Diagram describing use of the datetime HTML attribute"&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;ol&gt;&lt;br /&gt; &lt;li&gt;The year followed by a figure dash (a minus sign to you non-typography nerds)&lt;/li&gt;&lt;br /&gt; &lt;li&gt;The month followed by a figure dash&lt;/li&gt;&lt;br /&gt; &lt;li&gt;The date&lt;/li&gt;&lt;br /&gt; &lt;li&gt;A capital T to denote that we are going to specify the local time&lt;/li&gt;&lt;br /&gt; &lt;li&gt;The local time in the format hh:mm:ss&lt;/li&gt;&lt;br /&gt; &lt;li&gt;The time zone relative to GMT. I'm in Denmark which is 1 hour after GMT, so I write +01. If you were in Colorado you would be 7 hours behind GMT, and you would write -07.&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Marking up the Comments&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;Marking up the comments is pretty straight-forward. No new tags or attributes are used.&lt;/p&gt;&lt;br /&gt;&lt;div class="dp-highlighter"&gt;&lt;div class="bar"&gt;&lt;div class="tools"&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('ViewSource',this);return false;"&gt;view plain&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('CopyToClipboard',this);return false;"&gt;copy to clipboard&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('PrintSource',this);return false;"&gt;print&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('About',this);return false;"&gt;?&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;ol class="dp-xml" start="1"&gt;&lt;li class="alt"&gt;&lt;span&gt;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;section&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="attribute"&gt;id&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span class="attribute-value"&gt;"comments"&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;header&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;h3&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;Comments&lt;/span&gt;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;h3&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;header&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;article&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;header&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;a&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="attribute"&gt;href&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span class="attribute-value"&gt;"#"&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;George&amp;nbsp;Washington&lt;/span&gt;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;a&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;on&amp;nbsp;&lt;/span&gt;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;time&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="attribute"&gt;datetime&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span class="attribute-value"&gt;"2009-06-29T23:35:20+01:00"&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;June&amp;nbsp;29th&amp;nbsp;2009&amp;nbsp;at&amp;nbsp;23:35&lt;/span&gt;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;time&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;header&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;p&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;Lorem&amp;nbsp;ipsum&amp;nbsp;dolor&amp;nbsp;sit&amp;nbsp;amet,&amp;nbsp;consectetur&amp;nbsp;adipisicing&amp;nbsp;elit,&amp;nbsp;sed&amp;nbsp;do&amp;nbsp;eiusmod&amp;nbsp;tempor&amp;nbsp;incididunt&amp;nbsp;ut&amp;nbsp;labore&amp;nbsp;et&amp;nbsp;dolore&amp;nbsp;magna&amp;nbsp;aliqua.&amp;nbsp;Ut&amp;nbsp;enim&amp;nbsp;ad&amp;nbsp;minim&amp;nbsp;veniam,&amp;nbsp;quis&amp;nbsp;nostrud&amp;nbsp;exercitation&amp;nbsp;ullamco&amp;nbsp;laboris&amp;nbsp;nisi&amp;nbsp;ut.&lt;/span&gt;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;p&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;article&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;article&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;header&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;a&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="attribute"&gt;href&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span class="attribute-value"&gt;"#"&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;Benjamin&amp;nbsp;Franklin&lt;/span&gt;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;a&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;on&amp;nbsp;&lt;/span&gt;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;time&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="attribute"&gt;datetime&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span class="attribute-value"&gt;"2009-06-29T23:40:09+01:00"&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;June&amp;nbsp;29th&amp;nbsp;2009&amp;nbsp;at&amp;nbsp;23:40&lt;/span&gt;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;time&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;header&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;p&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;Lorem&amp;nbsp;ipsum&amp;nbsp;dolor&amp;nbsp;sit&amp;nbsp;amet,&amp;nbsp;consectetur&amp;nbsp;adipisicing&amp;nbsp;elit,&amp;nbsp;sed&amp;nbsp;do&amp;nbsp;eiusmod&amp;nbsp;tempor&amp;nbsp;incididunt&amp;nbsp;ut&amp;nbsp;labore&amp;nbsp;et&amp;nbsp;dolore&amp;nbsp;magna&amp;nbsp;aliqua.&amp;nbsp;Ut&amp;nbsp;enim&amp;nbsp;ad&amp;nbsp;minim&amp;nbsp;veniam,&amp;nbsp;quis&amp;nbsp;nostrud&amp;nbsp;exercitation&amp;nbsp;ullamco&amp;nbsp;laboris&amp;nbsp;nisi&amp;nbsp;ut.&lt;/span&gt;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;p&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;article&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;section&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;pre style="display: none;" name="code" class="html"&gt;&amp;lt;section id="comments"&amp;gt;&lt;br /&gt; &amp;lt;header&amp;gt;&lt;br /&gt;  &amp;lt;h3&amp;gt;Comments&amp;lt;/h3&amp;gt;&lt;br /&gt; &amp;lt;/header&amp;gt;&lt;br /&gt; &amp;lt;article&amp;gt;&lt;br /&gt;  &amp;lt;header&amp;gt;&lt;br /&gt;   &amp;lt;a href="#"&amp;gt;George Washington&amp;lt;/a&amp;gt; on &amp;lt;time datetime="2009-06-29T23:35:20+01:00"&amp;gt;June 29th 2009 at 23:35&amp;lt;/time&amp;gt;&lt;br /&gt;  &amp;lt;/header&amp;gt;&lt;br /&gt;  &amp;lt;p&amp;gt;Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut.&amp;lt;/p&amp;gt;&lt;br /&gt; &amp;lt;/article&amp;gt;&lt;br /&gt; &amp;lt;article&amp;gt;&lt;br /&gt;  &amp;lt;header&amp;gt;&lt;br /&gt;   &amp;lt;a href="#"&amp;gt;Benjamin Franklin&amp;lt;/a&amp;gt; on &amp;lt;time datetime="2009-06-29T23:40:09+01:00"&amp;gt;June 29th 2009 at 23:40&amp;lt;/time&amp;gt;&lt;br /&gt;  &amp;lt;/header&amp;gt;&lt;br /&gt;  &amp;lt;p&amp;gt;Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut.&amp;lt;/p&amp;gt;&lt;br /&gt; &amp;lt;/article&amp;gt;&lt;br /&gt;&amp;lt;/section&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Marking up the Comment Form&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;Several enhancements to forms have been introduced in HTML 5. You longer have to do client-side validation of required fields, emails, etc. The browser takes care of this for you.&lt;/p&gt;&lt;br /&gt;&lt;div class="dp-highlighter"&gt;&lt;div class="bar"&gt;&lt;div class="tools"&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('ViewSource',this);return false;"&gt;view plain&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('CopyToClipboard',this);return false;"&gt;copy to clipboard&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('PrintSource',this);return false;"&gt;print&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('About',this);return false;"&gt;?&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;ol class="dp-xml" start="1"&gt;&lt;li class="alt"&gt;&lt;span&gt;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;form&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="attribute"&gt;action&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span class="attribute-value"&gt;"#"&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="attribute"&gt;method&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span class="attribute-value"&gt;"post"&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;h3&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;Post&amp;nbsp;a&amp;nbsp;comment&lt;/span&gt;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;h3&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;p&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;label&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="attribute"&gt;for&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span class="attribute-value"&gt;"name"&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;Name&lt;/span&gt;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;label&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;input&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="attribute"&gt;name&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span class="attribute-value"&gt;"name"&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="attribute"&gt;id&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span class="attribute-value"&gt;"name"&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="attribute"&gt;type&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span class="attribute-value"&gt;"text"&lt;/span&gt;&lt;span&gt;&amp;nbsp;required&amp;nbsp;&lt;/span&gt;&lt;span class="tag"&gt;/&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;p&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;p&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;label&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="attribute"&gt;for&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span class="attribute-value"&gt;"email"&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;E-mail&lt;/span&gt;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;label&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;input&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="attribute"&gt;name&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span class="attribute-value"&gt;"email"&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="attribute"&gt;id&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span class="attribute-value"&gt;"email"&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="attribute"&gt;type&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span class="attribute-value"&gt;"email"&lt;/span&gt;&lt;span&gt;&amp;nbsp;required&amp;nbsp;&lt;/span&gt;&lt;span class="tag"&gt;/&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;p&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;p&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;label&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="attribute"&gt;for&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span class="attribute-value"&gt;"website"&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;Website&lt;/span&gt;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;label&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;input&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="attribute"&gt;name&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span class="attribute-value"&gt;"website"&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="attribute"&gt;id&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span class="attribute-value"&gt;"website"&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="attribute"&gt;type&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span class="attribute-value"&gt;"url"&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="tag"&gt;/&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;p&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;p&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;label&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="attribute"&gt;for&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span class="attribute-value"&gt;"comment"&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;Comment&lt;/span&gt;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;label&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;textarea&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="attribute"&gt;name&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span class="attribute-value"&gt;"comment"&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="attribute"&gt;id&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span class="attribute-value"&gt;"comment"&lt;/span&gt;&lt;span&gt;&amp;nbsp;required&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;textarea&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;p&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;p&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;input&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="attribute"&gt;type&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span class="attribute-value"&gt;"submit"&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="attribute"&gt;value&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span class="attribute-value"&gt;"Post&amp;nbsp;comment"&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="tag"&gt;/&amp;gt;&lt;/span&gt;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;p&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;form&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;pre style="display: none;" name="code" class="html"&gt;&amp;lt;form action="#" method="post"&amp;gt;&lt;br /&gt; &amp;lt;h3&amp;gt;Post a comment&amp;lt;/h3&amp;gt;&lt;br /&gt; &amp;lt;p&amp;gt;&lt;br /&gt;  &amp;lt;label for="name"&amp;gt;Name&amp;lt;/label&amp;gt;&lt;br /&gt;  &amp;lt;input name="name" id="name" type="text" required /&amp;gt;&lt;br /&gt; &amp;lt;/p&amp;gt;&lt;br /&gt; &amp;lt;p&amp;gt;&lt;br /&gt;  &amp;lt;label for="email"&amp;gt;E-mail&amp;lt;/label&amp;gt;&lt;br /&gt;  &amp;lt;input name="email" id="email" type="email" required /&amp;gt;&lt;br /&gt; &amp;lt;/p&amp;gt;&lt;br /&gt; &amp;lt;p&amp;gt;&lt;br /&gt;  &amp;lt;label for="website"&amp;gt;Website&amp;lt;/label&amp;gt;&lt;br /&gt;  &amp;lt;input name="website" id="website" type="url" /&amp;gt;&lt;br /&gt; &amp;lt;/p&amp;gt;&lt;br /&gt; &amp;lt;p&amp;gt;&lt;br /&gt;  &amp;lt;label for="comment"&amp;gt;Comment&amp;lt;/label&amp;gt;&lt;br /&gt;  &amp;lt;textarea name="comment" id="comment" required&amp;gt;&amp;lt;/textarea&amp;gt;&lt;br /&gt; &amp;lt;/p&amp;gt;&lt;br /&gt; &amp;lt;p&amp;gt;&amp;lt;input type="submit" value="Post comment" /&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;&amp;lt;/form&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;There are new two new types of inputs, email and url. Email specifies that the user should enter a valid E-mail, and url that the user should enter a valid website address. If you write required as an attribute, the user cannot submit an empty field. "Required" is a boolean attribute, new to HTML 5. It just means that the attribute is to be declared without a value.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Marking up the Sidebar and Footer&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;The markup of the sidebar and footer is extremely simple. A few sections with some content inside the appropriate aside- and footer-tags.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;You can view the final, unstyled markup &lt;a href="http://nettuts.s3.amazonaws.com/373_html5/markup/index.html"&gt;here&lt;/a&gt;. Now for the styling.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Styling with CSS 3&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;CSS 3 builds upon the principles about styles, selectors and the cascade that we know so well from earlier versions of CSS. It adds loads of new features, including new selectors, pseudo-classes and properties. Using these new features it becomes a lot easier to set up your layout. Let's dive in.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Basic Setup&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;To start off with we are going to define some basic rules concerning typography, background color of the page, etc. You'll recognize all of this from CSS 2.1&lt;/p&gt;&lt;br /&gt;&lt;div class="dp-highlighter"&gt;&lt;div class="bar"&gt;&lt;div class="tools"&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('ViewSource',this);return false;"&gt;view plain&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('CopyToClipboard',this);return false;"&gt;copy to clipboard&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('PrintSource',this);return false;"&gt;print&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('About',this);return false;"&gt;?&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;ol class="dp-css" start="1"&gt;&lt;li class="alt"&gt;&lt;span&gt;&lt;span class="comment"&gt;/*&amp;nbsp;Makeshift&amp;nbsp;CSS&amp;nbsp;Reset&amp;nbsp;*/&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;{&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;margin&lt;/span&gt;&lt;span&gt;:&amp;nbsp;0;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;padding&lt;/span&gt;&lt;span&gt;:&amp;nbsp;0;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;}&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&lt;span class="comment"&gt;/*&amp;nbsp;Tell&amp;nbsp;the&amp;nbsp;browser&amp;nbsp;to&amp;nbsp;render&amp;nbsp;HTML&amp;nbsp;5&amp;nbsp;elements&amp;nbsp;as&amp;nbsp;block&amp;nbsp;*/&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;header,&amp;nbsp;footer,&amp;nbsp;aside,&amp;nbsp;nav,&amp;nbsp;article&amp;nbsp;{&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;display&lt;/span&gt;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;block&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;}&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;body&amp;nbsp;{&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;margin&lt;/span&gt;&lt;span&gt;:&amp;nbsp;0&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;auto&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;width&lt;/span&gt;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;940px&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;font&lt;/span&gt;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;13px&lt;/span&gt;&lt;span&gt;/&lt;/span&gt;&lt;span class="string"&gt;22px&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;Helvetica&lt;/span&gt;&lt;span&gt;,&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;Arial&lt;/span&gt;&lt;span&gt;,&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;sans-serif&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;background&lt;/span&gt;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="colors"&gt;#f0f0f0&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;}&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;h2&amp;nbsp;{&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;font-size&lt;/span&gt;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;28px&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;line-height&lt;/span&gt;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;44px&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;padding&lt;/span&gt;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;22px&lt;/span&gt;&lt;span&gt;&amp;nbsp;0;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;}&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;h3&amp;nbsp;{&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;font-size&lt;/span&gt;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;18px&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;line-height&lt;/span&gt;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;22px&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;padding&lt;/span&gt;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;11px&lt;/span&gt;&lt;span&gt;&amp;nbsp;0;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;}&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;p&amp;nbsp;{&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;padding-bottom&lt;/span&gt;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;22px&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;}&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;pre style="display: none;" name="code" class="css"&gt;/* Makeshift CSS Reset */&lt;br /&gt;{&lt;br /&gt; margin: 0;&lt;br /&gt; padding: 0;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;/* Tell the browser to render HTML 5 elements as block */&lt;br /&gt;header, footer, aside, nav, article {&lt;br /&gt; display: block;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;body {&lt;br /&gt; margin: 0 auto;&lt;br /&gt; width: 940px;&lt;br /&gt; font: 13px/22px Helvetica, Arial, sans-serif;&lt;br /&gt; background: #f0f0f0;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;h2 {&lt;br /&gt; font-size: 28px;&lt;br /&gt; line-height: 44px;&lt;br /&gt; padding: 22px 0;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;h3 {&lt;br /&gt; font-size: 18px;&lt;br /&gt; line-height: 22px;&lt;br /&gt; padding: 11px 0;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;p {&lt;br /&gt; padding-bottom: 22px;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;First we reset margin- and padding-styles with a simple rule. In a production environment I would use a more complete CSS Reset such as Eric Meyer's (for CSS 2.1) but for the scope of the tutorial this will do.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;We then tell the browser to render all the new HTML 5 elements as block. The browsers are fine with elements they don't recognize (this is why HTML 5 is somewhat backwards compatible), but they don't know how those elements should be rendered by default. We have to tell them this until the standard is implemented across the board.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Also note how I've chosen to size the fonts in pixels instead of ems or %. This is to maintain the progressive nature of the tutorial. When the major browsers one day are completely finished implementing HTML 5 and CSS 3 we will all have access to page zooming instead of just text resizing. This eliminates the need to define sizes in relative units, as the browser will scale the page anyway.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://nettuts.s3.amazonaws.com/373_html5/basic_styling/index.html"&gt;See what the page looks like&lt;/a&gt; with the basic styling applied. Now we can move on to styling the rest of the page. No additional styles are required for the header, so we'll go straight to the navigation.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Styling the Navigation&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;It is important to note that the width of the body has been defined as 940px and that it has been centered. Our navigation bar needs to span the whole width of the window, so we'll have to apply some additional styles:&lt;/p&gt;&lt;br /&gt;&lt;div class="dp-highlighter"&gt;&lt;div class="bar"&gt;&lt;div class="tools"&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('ViewSource',this);return false;"&gt;view plain&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('CopyToClipboard',this);return false;"&gt;copy to clipboard&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('PrintSource',this);return false;"&gt;print&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('About',this);return false;"&gt;?&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;ol class="dp-css" start="1"&gt;&lt;li class="alt"&gt;&lt;span&gt;&lt;span&gt;nav&amp;nbsp;{&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;position&lt;/span&gt;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;absolute&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="string"&gt;left&lt;/span&gt;&lt;span&gt;:&amp;nbsp;0;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;width&lt;/span&gt;&lt;span&gt;:&amp;nbsp;100%;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;background&lt;/span&gt;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;url&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span class="string"&gt;"nav_background"&lt;/span&gt;&lt;span&gt;);&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;}&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;pre style="display: none;" name="code" class="css"&gt;nav {&lt;br /&gt; position: absolute;&lt;br /&gt; left: 0;&lt;br /&gt; width: 100%;&lt;br /&gt; background: url("nav_background");&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;We position the nav-element absolutely, align it to the left of the window and make it span the whole width. We'll center the nested list to display it within the boundaries of the layout:&lt;/p&gt;&lt;br /&gt;&lt;div class="dp-highlighter"&gt;&lt;div class="bar"&gt;&lt;div class="tools"&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('ViewSource',this);return false;"&gt;view plain&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('CopyToClipboard',this);return false;"&gt;copy to clipboard&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('PrintSource',this);return false;"&gt;print&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('About',this);return false;"&gt;?&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;ol class="dp-css" start="1"&gt;&lt;li class="alt"&gt;&lt;span&gt;&lt;span&gt;nav&amp;nbsp;ul&amp;nbsp;{&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;margin&lt;/span&gt;&lt;span&gt;:&amp;nbsp;0&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;auto&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;width&lt;/span&gt;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;940px&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;list-style&lt;/span&gt;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;none&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;}&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;pre style="display: none;" name="code" class="css"&gt;nav ul {&lt;br /&gt; margin: 0 auto;&lt;br /&gt; width: 940px;&lt;br /&gt; list-style: none;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;Now we'll define some additional styles to make the navigation items look prettier and align them to the grid the layout is based on. I've also included a style for highlighting the page the user is on, and some custom styling for the subscription-link.&lt;/p&gt;&lt;br /&gt;&lt;div class="dp-highlighter"&gt;&lt;div class="bar"&gt;&lt;div class="tools"&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('ViewSource',this);return false;"&gt;view plain&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('CopyToClipboard',this);return false;"&gt;copy to clipboard&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('PrintSource',this);return false;"&gt;print&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('About',this);return false;"&gt;?&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;ol class="dp-css" start="1"&gt;&lt;li class="alt"&gt;&lt;span&gt;&lt;span&gt;nav&amp;nbsp;ul&amp;nbsp;li&amp;nbsp;{&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;float&lt;/span&gt;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;left&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;}&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;nav&amp;nbsp;ul&amp;nbsp;li&amp;nbsp;a&amp;nbsp;{&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;display&lt;/span&gt;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;block&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;margin-right&lt;/span&gt;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;20px&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;width&lt;/span&gt;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;140px&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;font-size&lt;/span&gt;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;14px&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;line-height&lt;/span&gt;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;44px&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;text-align&lt;/span&gt;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;center&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;text-decoration&lt;/span&gt;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;none&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;color&lt;/span&gt;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="colors"&gt;#777&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;nav&amp;nbsp;ul&amp;nbsp;li&amp;nbsp;a:hover&amp;nbsp;{&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;color&lt;/span&gt;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="colors"&gt;#fff&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;nav&amp;nbsp;ul&amp;nbsp;li.selected&amp;nbsp;a&amp;nbsp;{&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;color&lt;/span&gt;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="colors"&gt;#fff&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;nav&amp;nbsp;ul&amp;nbsp;li.subscribe&amp;nbsp;a&amp;nbsp;{&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;margin-left&lt;/span&gt;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;22px&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;padding-left&lt;/span&gt;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;33px&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;text-align&lt;/span&gt;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;left&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;background&lt;/span&gt;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;url&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span class="string"&gt;"rss.png"&lt;/span&gt;&lt;span&gt;)&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;left&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;center&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;no-repeat&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;pre style="display: none;" name="code" class="css"&gt;nav ul li {&lt;br /&gt; float: left;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt; nav ul li a {&lt;br /&gt;  display: block;&lt;br /&gt;  margin-right: 20px;&lt;br /&gt;  width: 140px;&lt;br /&gt;  font-size: 14px;&lt;br /&gt;  line-height: 44px;&lt;br /&gt;  text-align: center;&lt;br /&gt;  text-decoration: none;&lt;br /&gt;  color: #777;&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt;  nav ul li a:hover {&lt;br /&gt;   color: #fff;&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;  nav ul li.selected a {&lt;br /&gt;   color: #fff;&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;  nav ul li.subscribe a {&lt;br /&gt;   margin-left: 22px;&lt;br /&gt;   padding-left: 33px;&lt;br /&gt;   text-align: left;&lt;br /&gt;   background: url("rss.png") left center no-repeat;&lt;br /&gt;  }&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Styling the Introduction&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;The markup for the introduction is pretty simple: A section with a heading and a paragraph of text. However, we'll use some new CSS 3 tricks to make it look more appealing.&lt;/p&gt;&lt;br /&gt;&lt;div class="dp-highlighter"&gt;&lt;div class="bar"&gt;&lt;div class="tools"&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('ViewSource',this);return false;"&gt;view plain&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('CopyToClipboard',this);return false;"&gt;copy to clipboard&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('PrintSource',this);return false;"&gt;print&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('About',this);return false;"&gt;?&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;ol class="dp-css" start="1"&gt;&lt;li class="alt"&gt;&lt;span&gt;&lt;span class="colors"&gt;#intro&lt;/span&gt;&lt;span&gt;&amp;nbsp;{&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;margin-top&lt;/span&gt;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;66px&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;padding&lt;/span&gt;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;44px&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;background&lt;/span&gt;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="colors"&gt;#467612&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;url&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span class="string"&gt;"intro_background.png"&lt;/span&gt;&lt;span&gt;)&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;repeat&lt;/span&gt;&lt;span&gt;-x;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;background&lt;/span&gt;&lt;span&gt;-&lt;/span&gt;&lt;span class="keyword"&gt;size&lt;/span&gt;&lt;span&gt;:&amp;nbsp;100%;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;border&lt;/span&gt;&lt;span&gt;-radius:&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;22px&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;}&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;pre style="display: none;" name="code" class="css"&gt;#intro {&lt;br /&gt; margin-top: 66px;&lt;br /&gt; padding: 44px;&lt;br /&gt; background: #467612 url("intro_background.png") repeat-x;&lt;br /&gt; background-size: 100%;&lt;br /&gt; border-radius: 22px;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;We are using two new properties. The first one is background-size, which allows you to scale the background-image. In our case, we scale it to 100% on both axes. If the box expands as we add more content to it, the gradient background will scale as well. This is something that was not possible in CSS 2.1 without non-semantic markup and miscellaneous browser issues.&lt;/p&gt;&lt;br /&gt;&lt;div class="tutorial_image"&gt;&lt;br /&gt;&lt;img style="display: inline;" original="http://nettuts.s3.amazonaws.com/373_html5/background-size.png" src="http://nettuts.s3.amazonaws.com/373_html5/background-size.png"&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;The second new property is border-radius, which applies rounded corners to the element. The radius of our rounded corners are 22px in every corner. You could specify different values for each corner or choose to only round individual corners.&lt;/p&gt;&lt;br /&gt;&lt;div class="tutorial_image"&gt;&lt;br /&gt;&lt;img style="display: inline;" original="http://nettuts.s3.amazonaws.com/373_html5/border-radius.png" src="http://nettuts.s3.amazonaws.com/373_html5/border-radius.png"&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;Unfortunately, neither of the properties are fully implemented into the major browsers. However, we can get some support by using vendor-specific attributes. Background-size is supported by newer versions of Safari, Opera and Konqueror. Border-radius is supported by newer versions of Safari and Firefox.&lt;/p&gt;&lt;br /&gt;&lt;div class="dp-highlighter"&gt;&lt;div class="bar"&gt;&lt;div class="tools"&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('ViewSource',this);return false;"&gt;view plain&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('CopyToClipboard',this);return false;"&gt;copy to clipboard&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('PrintSource',this);return false;"&gt;print&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('About',this);return false;"&gt;?&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;ol class="dp-css" start="1"&gt;&lt;li class="alt"&gt;&lt;span&gt;&lt;span class="colors"&gt;#intro&lt;/span&gt;&lt;span&gt;&amp;nbsp;{&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;...&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="comment"&gt;/*&amp;nbsp;Background-size&amp;nbsp;not&amp;nbsp;implemented&amp;nbsp;yet&amp;nbsp;*/&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-webkit-&lt;span class="keyword"&gt;background&lt;/span&gt;&lt;span&gt;-&lt;/span&gt;&lt;span class="keyword"&gt;size&lt;/span&gt;&lt;span&gt;:&amp;nbsp;100%;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-o-&lt;span class="keyword"&gt;background&lt;/span&gt;&lt;span&gt;-&lt;/span&gt;&lt;span class="keyword"&gt;size&lt;/span&gt;&lt;span&gt;:&amp;nbsp;100%;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-khtml-&lt;span class="keyword"&gt;background&lt;/span&gt;&lt;span&gt;-&lt;/span&gt;&lt;span class="keyword"&gt;size&lt;/span&gt;&lt;span&gt;:&amp;nbsp;100%;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="comment"&gt;/*&amp;nbsp;Border-radius&amp;nbsp;not&amp;nbsp;implemented&amp;nbsp;yet&amp;nbsp;*/&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-moz-&lt;span class="keyword"&gt;border&lt;/span&gt;&lt;span&gt;-radius:&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;22px&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-webkit-&lt;span class="keyword"&gt;border&lt;/span&gt;&lt;span&gt;-radius:&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;22px&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;}&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;pre style="display: none;" name="code" class="css"&gt;#intro {&lt;br /&gt; ...&lt;br /&gt; /* Background-size not implemented yet */&lt;br /&gt; -webkit-background-size: 100%;&lt;br /&gt; -o-background-size: 100%;&lt;br /&gt; -khtml-background-size: 100%;&lt;br /&gt;&lt;br /&gt; /* Border-radius not implemented yet */&lt;br /&gt;  -moz-border-radius: 22px;&lt;br /&gt; -webkit-border-radius: 22px;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;Since we have a background-color defined, there will be no major problems in browsers that don't support background-size, such as Firefox. Now we just need to style the heading and the text.&lt;/p&gt;&lt;br /&gt;&lt;div class="dp-highlighter"&gt;&lt;div class="bar"&gt;&lt;div class="tools"&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('ViewSource',this);return false;"&gt;view plain&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('CopyToClipboard',this);return false;"&gt;copy to clipboard&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('PrintSource',this);return false;"&gt;print&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('About',this);return false;"&gt;?&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;ol class="dp-css" start="1"&gt;&lt;li class="alt"&gt;&lt;span&gt;&lt;span class="colors"&gt;#intro&lt;/span&gt;&lt;span&gt;&amp;nbsp;h2,&amp;nbsp;&lt;/span&gt;&lt;span class="colors"&gt;#intro&lt;/span&gt;&lt;span&gt;&amp;nbsp;p¬†{&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;width&lt;/span&gt;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;336px&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;}&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&lt;span class="colors"&gt;#intro&lt;/span&gt;&lt;span&gt;&amp;nbsp;h2&amp;nbsp;{&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;padding&lt;/span&gt;&lt;span&gt;:&amp;nbsp;0&amp;nbsp;0&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;22px&lt;/span&gt;&lt;span&gt;&amp;nbsp;0;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;font-weight&lt;/span&gt;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;normal&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;color&lt;/span&gt;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="colors"&gt;#fff&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;}&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&lt;span class="colors"&gt;#intro&lt;/span&gt;&lt;span&gt;&amp;nbsp;p&amp;nbsp;{&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;padding&lt;/span&gt;&lt;span&gt;:&amp;nbsp;0;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;color&lt;/span&gt;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="colors"&gt;#d9f499&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;}&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;pre style="display: none;" name="code" class="css"&gt;#intro h2, #intro p¬†{&lt;br /&gt; width: 336px;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;#intro h2 {&lt;br /&gt; padding: 0 0 22px 0;&lt;br /&gt; font-weight: normal&lt;br /&gt; color: #fff;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;#intro p {&lt;br /&gt; padding: 0;&lt;br /&gt; color: #d9f499;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;The flower image can be added easily by giving #intro a second background image, something that CSS 3 supports.&lt;/p&gt;&lt;br /&gt;&lt;div class="dp-highlighter"&gt;&lt;div class="bar"&gt;&lt;div class="tools"&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('ViewSource',this);return false;"&gt;view plain&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('CopyToClipboard',this);return false;"&gt;copy to clipboard&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('PrintSource',this);return false;"&gt;print&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('About',this);return false;"&gt;?&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;ol class="dp-css" start="1"&gt;&lt;li class="alt"&gt;&lt;span&gt;&lt;span class="colors"&gt;#intro&lt;/span&gt;&lt;span&gt;&amp;nbsp;{&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;...&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;background&lt;/span&gt;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="colors"&gt;#467612&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;url&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span class="string"&gt;"intro_background.png"&lt;/span&gt;&lt;span&gt;)&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;top&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;left&lt;/span&gt;&lt;span&gt;&amp;nbsp;(&lt;/span&gt;&lt;span class="string"&gt;287px&lt;/span&gt;&lt;span&gt;&amp;nbsp;100%)&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;repeat&lt;/span&gt;&lt;span&gt;-x,&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="string"&gt;url&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span class="string"&gt;"intro_flower.png"&lt;/span&gt;&lt;span&gt;)&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;top&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="keyword"&gt;right&lt;/span&gt;&lt;span class="string"&gt;right&lt;/span&gt;&lt;span&gt;&amp;nbsp;(&lt;/span&gt;&lt;span class="string"&gt;653px&lt;/span&gt;&lt;span&gt;&amp;nbsp;100%)&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;no-repeat&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;...&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;}&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;pre style="display: none;" name="code" class="css"&gt;#intro {&lt;br /&gt; ...&lt;br /&gt; background: #467612 url("intro_background.png") top left (287px 100%) repeat-x,&lt;br /&gt;   url("intro_flower.png") top right (653px 100%) no-repeat;&lt;br /&gt; ...&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;We give the two background images explicit dimensions to ensure that they don't overlap, and we're set. Note the shorthand notation of background-size.&lt;/p&gt;&lt;br /&gt;&lt;div class="tutorial_image"&gt;&lt;br /&gt;&lt;img style="display: inline;" original="http://nettuts.s3.amazonaws.com/373_html5/multiple_bgs.png" src="http://nettuts.s3.amazonaws.com/373_html5/multiple_bgs.png"&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;Unfortunately, no browser reliably supports this yet, so we'll have to do it the old-fashioned way: by including an inline image and positioning it using CSS. See the final example to see how it was done.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Styling the Content Area and Sidebar&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;The content area and sidebar are going to be aligned beside each other. Traditionally you would do this by using floats, but in CSS 3 we are going to use tables!&lt;/p&gt;&lt;br /&gt;&lt;p&gt;"What?! Tables?" you might ask and look confused. You probably learned years ago that using tables for web layout is a big no-no, and it still is. You should never use the table-element to mark up a layout. However, in CSS 3 we can make elements behave like tables without it ever showing in the markup! To start off with, we're going to need some divs to group the sections in a little more logical manner.&lt;/p&gt;&lt;br /&gt;&lt;div class="dp-highlighter"&gt;&lt;div class="bar"&gt;&lt;div class="tools"&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('ViewSource',this);return false;"&gt;view plain&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('CopyToClipboard',this);return false;"&gt;copy to clipboard&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('PrintSource',this);return false;"&gt;print&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('About',this);return false;"&gt;?&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;ol class="dp-xml" start="1"&gt;&lt;li class="alt"&gt;&lt;span&gt;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;div&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="attribute"&gt;id&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span class="attribute-value"&gt;"content"&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;div&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="attribute"&gt;id&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span class="attribute-value"&gt;"mainContent"&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;section&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="comments"&gt;&amp;lt;!--&amp;nbsp;Blog&amp;nbsp;post&amp;nbsp;--&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;section&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;section&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="attribute"&gt;id&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span class="attribute-value"&gt;"comments"&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="comments"&gt;&amp;lt;!--&amp;nbsp;Comments&amp;nbsp;--&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;section&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;form&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="comments"&gt;&amp;lt;!--&amp;nbsp;Comment&amp;nbsp;form&amp;nbsp;--&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;form&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;div&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;aside&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="comments"&gt;&amp;lt;!--&amp;nbsp;Sidebar&amp;nbsp;--&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;aside&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;div&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;pre style="display: none;" name="code" class="html"&gt;&amp;lt;div id="content"&amp;gt;&lt;br /&gt; &amp;lt;div id="mainContent"&amp;gt;&lt;br /&gt;  &amp;lt;section&amp;gt;&lt;br /&gt;   &amp;lt;!-- Blog post --&amp;gt;&lt;br /&gt;  &amp;lt;/section&amp;gt;&lt;br /&gt;  &amp;lt;section id="comments"&amp;gt;&lt;br /&gt;   &amp;lt;!-- Comments --&amp;gt;&lt;br /&gt;  &amp;lt;/section&amp;gt;&lt;br /&gt;  &amp;lt;form&amp;gt;&lt;br /&gt;   &amp;lt;!-- Comment form --&amp;gt;&lt;br /&gt;  &amp;lt;/form&amp;gt;&lt;br /&gt; &amp;lt;/div&amp;gt;&lt;br /&gt; &amp;lt;aside&amp;gt;&lt;br /&gt;  &amp;lt;!-- Sidebar --&amp;gt;&lt;br /&gt; &amp;lt;/aside&amp;gt;&lt;br /&gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;Everything still makes sense semantically, but now we can style it. We want the #content div to behave like a table, with #mainContent and aside as table-cells. With CSS 3, this is very easy:&lt;/p&gt;&lt;br /&gt;&lt;div class="tutorial_image"&gt;&lt;br /&gt;&lt;img style="display: inline;" original="http://nettuts.s3.amazonaws.com/373_html5/table_cells.png" src="http://nettuts.s3.amazonaws.com/373_html5/table_cells.png"&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="dp-highlighter"&gt;&lt;div class="bar"&gt;&lt;div class="tools"&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('ViewSource',this);return false;"&gt;view plain&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('CopyToClipboard',this);return false;"&gt;copy to clipboard&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('PrintSource',this);return false;"&gt;print&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('About',this);return false;"&gt;?&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;ol class="dp-css" start="1"&gt;&lt;li class="alt"&gt;&lt;span&gt;&lt;span class="colors"&gt;#conten&lt;/span&gt;&lt;span&gt;t&amp;nbsp;{&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;display&lt;/span&gt;&lt;span&gt;:&amp;nbsp;table;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;}&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="colors"&gt;#mainCo&lt;/span&gt;&lt;span&gt;ntent&amp;nbsp;{&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;display&lt;/span&gt;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;table-cell&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;width&lt;/span&gt;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;620px&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;padding-right&lt;/span&gt;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;22px&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;aside&amp;nbsp;{&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;display&lt;/span&gt;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;table-cell&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;width&lt;/span&gt;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;300px&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;pre style="display: none;" name="code" class="css"&gt;#content {&lt;br /&gt; display: table;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt; #mainContent {&lt;br /&gt;  display: table-cell;&lt;br /&gt;  width: 620px;&lt;br /&gt;  padding-right: 22px;&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt; aside {&lt;br /&gt;  display: table-cell;&lt;br /&gt;  width: 300px;&lt;br /&gt; }&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;That's all! No more floating, faux column background images, clearing or collapsing margins. We've made the elements behave like a table, and this makes it much easier for us to do layout.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Styling the Blog Post&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;The styling of the post header is rather trivial so I'll skip to the fun part: the multi-column layout.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Multiple columns&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;Multiple columns of text was previously impossible without manually splitting the text, but with CSS 3 it's a piece of cake, although we have to add a div around the multiple paragraphs for this to work with current browsers.&lt;/p&gt;&lt;br /&gt;&lt;div class="dp-highlighter"&gt;&lt;div class="bar"&gt;&lt;div class="tools"&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('ViewSource',this);return false;"&gt;view plain&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('CopyToClipboard',this);return false;"&gt;copy to clipboard&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('PrintSource',this);return false;"&gt;print&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('About',this);return false;"&gt;?&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;ol class="dp-xml" start="1"&gt;&lt;li class="alt"&gt;&lt;span&gt;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;div&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;p&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;Lorem&amp;nbsp;ipsum&amp;nbsp;dolor&amp;nbsp;sit&amp;nbsp;amet...&lt;/span&gt;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;p&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;p&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;Pellentesque&amp;nbsp;ut&amp;nbsp;sapien&amp;nbsp;arcu...&lt;/span&gt;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;p&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="tag"&gt;&amp;lt;&lt;/span&gt;&lt;span class="tag-name"&gt;p&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;Vivamus&amp;nbsp;vitae&amp;nbsp;nulla&amp;nbsp;dolor...&lt;/span&gt;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;p&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;...&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&lt;span class="tag"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="tag-name"&gt;div&lt;/span&gt;&lt;span class="tag"&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;pre style="display: none;" name="code" class="html"&gt;&amp;lt;div&amp;gt;&lt;br /&gt; &amp;lt;p&amp;gt;Lorem ipsum dolor sit amet...&amp;lt;/p&amp;gt;&lt;br /&gt; &amp;lt;p&amp;gt;Pellentesque ut sapien arcu...&amp;lt;/p&amp;gt;&lt;br /&gt; &amp;lt;p&amp;gt;Vivamus vitae nulla dolor...&amp;lt;/p&amp;gt;&lt;br /&gt; ...&lt;br /&gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;Now we can add two simple properties and call it a day.&lt;/p&gt;&lt;br /&gt;&lt;div class="dp-highlighter"&gt;&lt;div class="bar"&gt;&lt;div class="tools"&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('ViewSource',this);return false;"&gt;view plain&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('CopyToClipboard',this);return false;"&gt;copy to clipboard&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('PrintSource',this);return false;"&gt;print&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('About',this);return false;"&gt;?&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;ol class="dp-css" start="1"&gt;&lt;li class="alt"&gt;&lt;span&gt;&lt;span&gt;.blogPost&amp;nbsp;div&amp;nbsp;{&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;column-count:&amp;nbsp;2;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;column-gap:&amp;nbsp;&lt;span class="string"&gt;22px&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;}&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;pre style="display: none;" name="code" class="css"&gt;.blogPost div {&lt;br /&gt; column-count: 2;&lt;br /&gt; column-gap: 22px;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;We want 2 columns and a gap of 22px between the columns. The additional div is needed because there is currently no supported way of making an element span more than one column. In the future, however, you'll be able to specify the column-span property, and we could just write:&lt;/p&gt;&lt;br /&gt;&lt;div class="dp-highlighter"&gt;&lt;div class="bar"&gt;&lt;div class="tools"&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('ViewSource',this);return false;"&gt;view plain&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('CopyToClipboard',this);return false;"&gt;copy to clipboard&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('PrintSource',this);return false;"&gt;print&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('About',this);return false;"&gt;?&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;ol class="dp-css" start="1"&gt;&lt;li class="alt"&gt;&lt;span&gt;&lt;span&gt;.blogPost&amp;nbsp;{&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;column-count:&amp;nbsp;2;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;column-gap:&amp;nbsp;&lt;span class="string"&gt;22px&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;}&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.blogPost&amp;nbsp;header&amp;nbsp;{&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;column-span:&amp;nbsp;&lt;span class="string"&gt;all&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;pre style="display: none;" name="code" class="css"&gt;.blogPost {&lt;br /&gt; column-count: 2;&lt;br /&gt; column-gap: 22px;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt; .blogPost header {&lt;br /&gt;  column-span: all;&lt;br /&gt; }&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;Of course the column-count and column-gap properties are only supported by some browsers, Safari and Firefox. We have to use the vendor-specific properties for now.&lt;/p&gt;&lt;br /&gt;&lt;div class="dp-highlighter"&gt;&lt;div class="bar"&gt;&lt;div class="tools"&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('ViewSource',this);return false;"&gt;view plain&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('CopyToClipboard',this);return false;"&gt;copy to clipboard&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('PrintSource',this);return false;"&gt;print&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('About',this);return false;"&gt;?&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;ol class="dp-css" start="1"&gt;&lt;li class="alt"&gt;&lt;span&gt;&lt;span&gt;.blogPost&amp;nbsp;div&amp;nbsp;{&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="comment"&gt;/*&amp;nbsp;Column-count&amp;nbsp;not&amp;nbsp;implemented&amp;nbsp;yet&amp;nbsp;*/&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-moz-column-count:&amp;nbsp;2;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-webkit-column-count:&amp;nbsp;2;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="comment"&gt;/*&amp;nbsp;Column-gap&amp;nbsp;not&amp;nbsp;implemented&amp;nbsp;yet&amp;nbsp;*/&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-moz-column-gap:&amp;nbsp;&lt;span class="string"&gt;22px&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-webkit-column-gap:&amp;nbsp;&lt;span class="string"&gt;22px&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;}&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;pre style="display: none;" name="code" class="css"&gt;.blogPost div {&lt;br /&gt; /* Column-count not implemented yet */&lt;br /&gt; -moz-column-count: 2;&lt;br /&gt; -webkit-column-count: 2;&lt;br /&gt;&lt;br /&gt; /* Column-gap not implemented yet */&lt;br /&gt; -moz-column-gap: 22px;&lt;br /&gt; -webkit-column-gap: 22px;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Box shadow&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;If you look closely at the image in the blog post you'll see a drop-shadow. We are able to generate this using CSS 3 and the box-shadow property.&lt;/p&gt;&lt;br /&gt;&lt;div class="dp-highlighter"&gt;&lt;div class="bar"&gt;&lt;div class="tools"&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('ViewSource',this);return false;"&gt;view plain&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('CopyToClipboard',this);return false;"&gt;copy to clipboard&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('PrintSource',this);return false;"&gt;print&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('About',this);return false;"&gt;?&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;ol class="dp-css" start="1"&gt;&lt;li class="alt"&gt;&lt;span&gt;&lt;span&gt;.blogPost&amp;nbsp;img&amp;nbsp;{&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;margin&lt;/span&gt;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;22px&lt;/span&gt;&lt;span&gt;&amp;nbsp;0;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;box-shadow:&amp;nbsp;&lt;span class="string"&gt;3px&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;3px&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;7px&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="colors"&gt;#777&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;}&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;pre style="display: none;" name="code" class="css"&gt;.blogPost img {&lt;br /&gt; margin: 22px 0;&lt;br /&gt; box-shadow: 3px 3px 7px #777;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;div class="tutorial_image"&gt;&lt;br /&gt;&lt;img style="display: inline;" original="http://nettuts.s3.amazonaws.com/373_html5/shadow_rendering.png" src="http://nettuts.s3.amazonaws.com/373_html5/shadow_rendering.png" alt="Illustration describing how the browsers render the box-shadow CSS property"&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;The first "3px" tells the browser where we want the shadow to stop horizontally. The second "3px" tells it where we want the shadow to stop vertically. The last "7px" is how blurred the border should be. If you set it to 0 it will be completely solid. Last but not least we define the base color of the shadow. This color is of course faded, depending on how much you blur the shadow.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;It probably comes as no surprise that this property is not implemented in all browsers yet. In fact, it only works in Safari, and you have to use the vendor-specific property.&lt;/p&gt;&lt;br /&gt;&lt;div class="dp-highlighter"&gt;&lt;div class="bar"&gt;&lt;div class="tools"&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('ViewSource',this);return false;"&gt;view plain&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('CopyToClipboard',this);return false;"&gt;copy to clipboard&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('PrintSource',this);return false;"&gt;print&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('About',this);return false;"&gt;?&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;ol class="dp-css" start="1"&gt;&lt;li class="alt"&gt;&lt;span&gt;&lt;span&gt;.blogPost&amp;nbsp;img&amp;nbsp;{&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;margin&lt;/span&gt;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;22px&lt;/span&gt;&lt;span&gt;&amp;nbsp;0;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-webkit-box-shadow:&amp;nbsp;&lt;span class="string"&gt;3px&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;3px&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;7px&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="colors"&gt;#777&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;}&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;pre style="display: none;" name="code" class="css"&gt;.blogPost img {&lt;br /&gt; margin: 22px 0;&lt;br /&gt; -webkit-box-shadow: 3px 3px 7px #777;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Zebra-striping the Comments&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;Zebra-striping, or highlighting every second element in a series, has traditionally involved selecting all the elements via javascript, then looping through them and highlighting all the odd elements. CSS 3 introduces the pseudo-class "nth-child", which makes it ridiculously simple to do this without javascript. We'll use it to zebra-stripe the comments.&lt;/p&gt;&lt;br /&gt;&lt;div class="dp-highlighter"&gt;&lt;div class="bar"&gt;&lt;div class="tools"&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('ViewSource',this);return false;"&gt;view plain&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('CopyToClipboard',this);return false;"&gt;copy to clipboard&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('PrintSource',this);return false;"&gt;print&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('About',this);return false;"&gt;?&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;ol class="dp-css" start="1"&gt;&lt;li class="alt"&gt;&lt;span&gt;&lt;span&gt;section&lt;/span&gt;&lt;span class="colors"&gt;#commen&lt;/span&gt;&lt;span&gt;ts&amp;nbsp;article:nth-child(2n+1)&amp;nbsp;{&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;padding&lt;/span&gt;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;21px&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;background&lt;/span&gt;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="colors"&gt;#E3E3E3&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="keyword"&gt;border&lt;/span&gt;&lt;span&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;1px&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;solid&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="colors"&gt;#d7d7d7&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span class="comment"&gt;/*&amp;nbsp;Border-radius&amp;nbsp;not&amp;nbsp;implemented&amp;nbsp;yet&amp;nbsp;*/&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-moz-&lt;span class="keyword"&gt;border&lt;/span&gt;&lt;span&gt;-radius:&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;11px&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class=""&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-webkit-&lt;span class="keyword"&gt;border&lt;/span&gt;&lt;span&gt;-radius:&amp;nbsp;&lt;/span&gt;&lt;span class="string"&gt;11px&lt;/span&gt;&lt;span&gt;;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="alt"&gt;&lt;span&gt;}&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;pre style="display: none;" name="code" class="css"&gt;section#comments article:nth-child(2n+1) {&lt;br /&gt; padding: 21px;&lt;br /&gt; background: #E3E3E3;&lt;br /&gt; border: 1px solid #d7d7d7;&lt;br /&gt;&lt;br /&gt; /* Border-radius not implemented yet */&lt;br /&gt; -moz-border-radius: 11px;&lt;br /&gt; -webkit-border-radius: 11px;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;The weird value "2n+1" is actually pretty simple if you understand what it stands for:&lt;/p&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt; &lt;li&gt;2n selects every second item. If you wrote 3n it would select every third item, 4n every fourth item, and so on.&lt;/li&gt;&lt;br /&gt; &lt;li&gt;The +1 tells the browser to start at element 1. If you are familiar with programming you probably know that all arrays start at 0, and this is also true here. This means that element 1 is actually the second element in the series.&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;p&gt;Alternatively, you could simply write:&lt;/p&gt;&lt;br /&gt;&lt;div class="dp-highlighter"&gt;&lt;div class="bar"&gt;&lt;div class="tools"&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('ViewSource',this);return false;"&gt;view plain&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('CopyToClipboard',this);return false;"&gt;copy to clipboard&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('PrintSource',this);return false;"&gt;print&lt;/a&gt;&lt;a href="#" onclick="dp.sh.Toolbar.Command('About',this);return false;"&gt;?&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;ol class="dp-css" start="1"&gt;&lt;li class="alt"&gt;&lt;span&gt;&lt;span&gt;section&lt;/span&gt;&lt;span class="colors"&gt;#commen&lt;/span&gt;&lt;span&gt;ts&amp;nbsp;article:nth-child(odd)&amp;nbsp;{&amp;nbsp;...&amp;nbsp;}&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;pre style="display: none;" name="code" class="css"&gt;section#comments article:nth-child(odd) { ... }&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;Since the standard includes the two most used values as shorthand, odd and even. The rest of the comment styling should be simple to understand with your new knowledge.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Styling the Comment Form, Footer and Sidebar&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;A couple of CSS 3 techniques are reused in the styling of the comment form, footer and sidebar. In the comment form and the footer I've used the same type of table layout technique used in the main layout. In the sidebar border-radius is used to add rounded corners to the different sections.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;The Final Design&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://nettuts.s3.amazonaws.com/373_html5/final/index.html"&gt;See the final design&lt;/a&gt; with all styling applied.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Compatibility&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;The page renders correctly in Safari 4 and newer webkit-based browsers, as it is the only rendering engine that supports all of the CSS 3 techniques we have used. Firefox 3 has some problems applying rounded corners to our flower image and it doesn't support background-size, but besides that the layout works. I've chosen to ignore Internet Explorer as it &lt;a href="http://remysharp.com/2009/01/07/html5-enabling-script/"&gt;requires a bit of hacking&lt;/a&gt; to get HTML 5 to work. You could also define some more rules and get everything working across major browsers, but all of this is outside the scope of the tutorial.&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Conclusion&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;When HTML 5 and CSS 3 are one day implemented in all browsers it will be a lot easier to build websites. We'll finally be able to stop using floats for layout (which they were never meant to be used for), and we will spend considerably less time writing javascript to scale our background images or zebra-stripe our tables. Hopefully we will use all this extra time to study some long-neglected areas of web design, like &lt;a href="http://www.youtube.com/watch?v=BTHvs3V8DBA"&gt;front end optimization&lt;/a&gt; and &lt;a href="http://psd.tutsplus.com/articles/9-information-design-tips-to-make-you-a-better-web-designer/"&gt;proper information architecture&lt;/a&gt;.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/578815938541519252-1648537924524947534?l=jquery-tricks.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jquery-tricks.blogspot.com/feeds/1648537924524947534/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jquery-tricks.blogspot.com/2009/08/html-5-and-css-3-techniques-youll-soon.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/578815938541519252/posts/default/1648537924524947534'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/578815938541519252/posts/default/1648537924524947534'/><link rel='alternate' type='text/html' href='http://jquery-tricks.blogspot.com/2009/08/html-5-and-css-3-techniques-youll-soon.html' title='HTML 5 and CSS 3: The Techniques You’ll Soon Be Using'/><author><name>SoMeOnE</name><uri>http://www.blogger.com/profile/12328046872530550213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-578815938541519252.post-1020725392544344678</id><published>2009-08-20T08:12:00.000-07:00</published><updated>2009-08-20T08:44:02.723-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xhtml'/><category scheme='http://www.blogger.com/atom/ns#' term='sliding'/><category scheme='http://www.blogger.com/atom/ns#' term='stunning'/><category scheme='http://www.blogger.com/atom/ns#' term='layout'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorials'/><category scheme='http://www.blogger.com/atom/ns#' term='design'/><category scheme='http://www.blogger.com/atom/ns#' term='source'/><category scheme='http://www.blogger.com/atom/ns#' term='buttons'/><category scheme='http://www.blogger.com/atom/ns#' term='amazing'/><category scheme='http://www.blogger.com/atom/ns#' term='jquery'/><category scheme='http://www.blogger.com/atom/ns#' term='html'/><category scheme='http://www.blogger.com/atom/ns#' term='codes'/><category scheme='http://www.blogger.com/atom/ns#' term='css'/><title type='text'>40 Creative Design Layouts: Getting Out Of The Box</title><content type='html'>&lt;h3&gt;20 × Getting Creative With CSS&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://www.pavelbuben.cz/"&gt;Pavel Buben&lt;/a&gt;&lt;br&gt;Pavel Buben uses a magazine cover-style layout for his one-page-site. Unfortunately, there are no internal pages — it would be interesting to seek how they would be designed. An interesting and unusual approach.&lt;/p&gt;&lt;br /&gt;&lt;p class="showcase"&gt;&lt;a href="http://www.pavelbuben.cz/"&gt;&lt;img original="http://media2.smashingmagazine.com/images/unusual-layouts/layouts-14.jpg" alt="Showcase of Unusual Layouts - Pavel Buben" src="http://media2.smashingmagazine.com/images/unusual-layouts/layouts-14.jpg" width="500"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://aigalosangeles.org/chapter/"&gt;AIGA Los Angeles&lt;/a&gt;&lt;br&gt;AIGA Los Angeles uses boxes in a creative way. All design elements are placed according to the underlying grid, however they clearly break out of the boxes. This approach creates tension within the design and looks truly distinctive.&lt;/p&gt;&lt;br /&gt;&lt;p class="showcase"&gt;&lt;a href="http://aigalosangeles.org/chapter/"&gt;&lt;img original="http://media2.smashingmagazine.com/images/unusual-layouts/layouts-4.jpg" alt="Showcase of Unusual Layouts - AIGA Los Angeles" src="http://media2.smashingmagazine.com/images/unusual-layouts/layouts-4.jpg" width="500"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://spacecollective.org/gallery/"&gt;SpaceCollective&lt;/a&gt;&lt;br&gt;For its gallery section SpaceCollective uses a five-column grid. Text and images are perfectly placed on the grid giving the layout a complete form and a sense of order. Notice various font sizes and text styling in the design — they introduce a profound visual hierarchy into the layout that works perfectly within the complex, unpredictable layout.&lt;/p&gt;&lt;br /&gt;&lt;p class="showcase"&gt;&lt;a href="http://spacecollective.org/gallery/"&gt;&lt;img original="http://media1.smashingmagazine.com/images/unusual-layouts/layouts-2.jpg" alt="Showcase of Unusual Layouts - SpaceCollective" src="http://media1.smashingmagazine.com/images/unusual-layouts/layouts-2.jpg" width="500"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://jasonsantamaria.com/articles/cheesesteak-crawl/"&gt;Jason Santa Maria&lt;/a&gt;&lt;br&gt;Jason Santa Maria has taken a truly different route with his site layout. Each article is laid out differently, with strong focus on typography and visual clarity. Below three of the layouts are presented. You may have a hard time finding similar layouts on the Web.&lt;/p&gt;&lt;br /&gt;&lt;p class="showcase"&gt;&lt;a href="http://jasonsantamaria.com/articles/oh-snap/"&gt;&lt;img original="http://media1.smashingmagazine.com/images/unusual-layouts/layouts-6.jpg" alt="Showcase of Unusual Layouts - Oh, Snap @ Jason Santa Maria" src="http://media1.smashingmagazine.com/images/unusual-layouts/layouts-6.jpg" width="500"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class="showcase"&gt;&lt;a href="http://jasonsantamaria.com/articles/explain-yourself/"&gt;&lt;img original="http://media2.smashingmagazine.com/images/unusual-layouts/layouts-7.jpg" alt="Showcase of Unusual Layouts - Explain Yourself | Jason Santa Maria" src="http://media2.smashingmagazine.com/images/unusual-layouts/layouts-7.jpg" width="500"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class="showcase"&gt;&lt;a href="http://jasonsantamaria.com/articles/cheesesteak-crawl/"&gt;&lt;img original="http://media2.smashingmagazine.com/images/unusual-layouts/layouts-5.jpg" alt="Showcase of Unusual Layouts - Jason Santa Maria" src="http://media2.smashingmagazine.com/images/unusual-layouts/layouts-5.jpg" width="500"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://www.checkoutapp.com/"&gt;Checkout: Point of Sale for Mac (POS)&lt;/a&gt;&lt;br&gt;At the first glance, Checkout looks like an ordinary Apple grid-layout. What makes the layout interesting is not only the position of its visual elements, but the fact that each section of the page has its individual (although consistent) design. Still, the layout is very scannable and intuitive.&lt;/p&gt;&lt;br /&gt;&lt;p class="showcase"&gt;&lt;a href="http://www.checkoutapp.com/"&gt;&lt;img original="http://media1.smashingmagazine.com/images/unusual-layouts/layouts-17.jpg" alt="Showcase of Unusual Layouts - Checkout: Point of Sale for Mac (POS)" src="http://media1.smashingmagazine.com/images/unusual-layouts/layouts-17.jpg" width="500"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://www.nofrks.com/"&gt;NOFRKS.design&lt;/a&gt;&lt;br&gt;NOFRKS uses JavaScript to slide between various parts of the site. What we found more interesting was the way the content is presented. Most elements are placed within a context, giving the content a secondary meaning.&lt;/p&gt;&lt;br /&gt;&lt;p class="showcase"&gt;&lt;a href="http://www.nofrks.com/"&gt;&lt;img original="http://media1.smashingmagazine.com/images/unusual-layouts/layouts-18.jpg" alt="Showcase of Unusual Layouts - NOFRKS.design" src="http://media1.smashingmagazine.com/images/unusual-layouts/layouts-18.jpg" width="500"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://www.nikolamircic.com/archive/sms/index.html"&gt;SMS Parking&lt;/a&gt;&lt;br&gt;At the first glance SMSParking has no layout at all. The design appears to be one single illustration — all elements fit perfectly with each other, creating visual harmony and a sense of balance and closure.&lt;/p&gt;&lt;br /&gt;&lt;p class="showcase"&gt;&lt;a href="http://www.nikolamircic.com/archive/sms/index.html"&gt;&lt;img original="http://media2.smashingmagazine.com/images/unusual-layouts/layouts-43.jpg" alt="Showcase of Unusual Layouts - SMS Parking: Welcome" src="http://media2.smashingmagazine.com/images/unusual-layouts/layouts-43.jpg" width="500"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://www.tri-win.com/"&gt;Tri-Win&lt;/a&gt;&lt;br&gt;Sometimes a background image is enough to make the layout stand out. Although one can recognize a conventional layout structure here, the design looks distinctive and memorable. The background image of the site perfectly fits the company, which offers mailing services.&lt;/p&gt;&lt;br /&gt;&lt;p class="showcase"&gt;&lt;a href="http://www.tri-win.com/"&gt;&lt;img original="http://media2.smashingmagazine.com/images/unusual-layouts/layouts-27.jpg" alt="Showcase of Unusual Layouts - Tri-Win: Serving as the leader in Direct Mail and Mailing Services in the Dallas Texas metroplex area." src="/wp-content/themes/SM-theme/img/blank.gif" width="500"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://www.matrizcomunicacao.com.br/html/index.html"&gt;Matriz Communicacao&lt;/a&gt;&lt;br&gt;This Brazilian company delivers a perfect example of how design and content can seamlessly be integrated within a complete yet simple layout.&lt;/p&gt;&lt;br /&gt;&lt;p class="showcase"&gt;&lt;a href="http://www.matrizcomunicacao.com.br/html/index.html"&gt;&lt;img original="http://media1.smashingmagazine.com/images/unusual-layouts/layouts-28.jpg" alt="Showcase of Unusual Layouts - MATRIZ COMUNICAÃ‡ÃƒO" src="/wp-content/themes/SM-theme/img/blank.gif" width="500"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://www.davidmihm.com/blog/"&gt;Mihmorandum&lt;/a&gt;&lt;br&gt;Mihmorandum uses a common 3-column-layout in an unusual way. Although the structure is quite usual, the design itself looks distinctive and resembles a pile of paper put inside a folder.&lt;/p&gt;&lt;br /&gt;&lt;p class="showcase"&gt;&lt;a href="http://www.davidmihm.com/blog/"&gt;&lt;img original="http://media1.smashingmagazine.com/images/unusual-layouts/layouts-33.jpg" alt="Showcase of Unusual Layouts - Mihmorandum: The Small Business Web Design + Local SEO Blog" src="/wp-content/themes/SM-theme/img/blank.gif" width="500"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://3rdm.org/"&gt;3rdM&lt;/a&gt;&lt;br&gt;3rdM uses icons to indicate various navigation options. This is not a type of layout you will find in many other web designs. And that’s what makes the layout creative.&lt;/p&gt;&lt;br /&gt;&lt;p class="showcase"&gt;&lt;a href="http://3rdm.org/"&gt;&lt;img original="http://media2.smashingmagazine.com/images/unusual-layouts/layouts-3.jpg" alt="Showcase of Unusual Layouts - 3rdM" src="/wp-content/themes/SM-theme/img/blank.gif" width="500"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://inside.nile.ru/#years-2008/"&gt;Nile Inside&lt;/a&gt;&lt;br&gt;Many portfolios use vertical layout to showcase their works. Nile.ru displays its works in a chronological order as if it was a horizontal blog.&lt;/p&gt;&lt;br /&gt;&lt;p class="showcase"&gt;&lt;a href="http://inside.nile.ru/#years-2008/"&gt;&lt;img original="http://media2.smashingmagazine.com/images/unusual-layouts/layouts-40.jpg" alt="Showcase of Unusual Layouts - Nile Inside / years-2008" src="/wp-content/themes/SM-theme/img/blank.gif" width="500"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://rockatee.com/"&gt;Rockatee&lt;/a&gt;&lt;br&gt;Rockatee uses asymmetry to position content blocks in an unusual yet appealing style. Notice that the left block perfectly aligns with the navigation option “Home” at the top of the page. The screenshot in the middle of the page spans exactly two navigation options and has the same width as the description block on the right side of the page.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;The distortion in the layout is caused by the underlying organic texture. Although the design is perfectly aligned according to the grid, it seems to be chaotic at first glance. The tension between order and chaos creates tension in the layout and looks very appealing.&lt;/p&gt;&lt;br /&gt;&lt;p class="showcase"&gt;&lt;a href="http://rockatee.com/"&gt;&lt;img original="http://media1.smashingmagazine.com/images/unusual-layouts/layouts-41.jpg" alt="Showcase of Unusual Layouts - Rockatee Home" src="/wp-content/themes/SM-theme/img/blank.gif" width="500"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://www.getlondonreading.co.uk/Home"&gt;Get London Reading&lt;/a&gt;&lt;br&gt;An effective background image can help a layout stand out. The effect achieved here fits with the objective of the project — to encourage people to read more.&lt;/p&gt;&lt;br /&gt;&lt;p class="showcase"&gt;&lt;a href="http://www.getlondonreading.co.uk/Home"&gt;&lt;img original="http://media1.smashingmagazine.com/images/unusual-layouts/layouts-45.jpg" alt="Showcase of Unusual Layouts - Get London Reading" src="/wp-content/themes/SM-theme/img/blank.gif" width="500"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://www.blind.com/"&gt;BL:ND ( blind )&lt;/a&gt;&lt;br&gt;At the first glance, the layout looks underwhelming. What distinguishes it, though, are the choice of images sizes and a good use of white space. Notice how well negative space is used in the sidebar, where individual elements are clearly separated and properly aligned. The width of the images equals the width of the content blocks. Yes, the layout is boxy, but the wise use of whitespace makes it far from boring.&lt;/p&gt;&lt;br /&gt;&lt;p class="showcase"&gt;&lt;a href="http://www.blind.com/"&gt;&lt;img original="http://media2.smashingmagazine.com/images/unusual-layouts/layouts-46.jpg" alt="Showcase of Unusual Layouts - BL:ND ( blind )" src="/wp-content/themes/SM-theme/img/blank.gif" width="500"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://www.classicwfl.com/"&gt;The portfolio of Hannibal&lt;/a&gt;&lt;br&gt;Usually, navigation menus are placed in the sidebar or at the top of the site. William F. Leffert does it differently. His non-linear layout literally breaks out of the boxy structure and offers something quite different. Sometimes it’s enough to simply experiment with the position of design elements to achieve striking design solutions.&lt;/p&gt;&lt;br /&gt;&lt;p class="showcase"&gt;&lt;a href="http://www.classicwfl.com/"&gt;&lt;img original="http://media2.smashingmagazine.com/images/unusual-layouts/layouts-47.jpg" alt="Showcase of Unusual Layouts - The portfolio of Hannibal, Missouri artist, web designer, photographer, musician, and composer: WFL" src="/wp-content/themes/SM-theme/img/blank.gif" width="500"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;URLshrinker&lt;br&gt;Creative design solutions can be as simple as this one. An elegant and attractive layout by URLshrinker.&lt;/p&gt;&lt;br /&gt;&lt;p class="showcase"&gt;&lt;img original="http://media1.smashingmagazine.com/images/unusual-layouts/layouts-49.jpg" alt="Showcase of Unusual Layouts - URLshrinker" src="/wp-content/themes/SM-theme/img/blank.gif" width="500"&gt;&lt;/p&gt;&lt;br /&gt;&lt;h3&gt;15 × Getting Creative With CSS+JavaScript&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://www.shopcomposition.com/"&gt;ShopComposition&lt;/a&gt;&lt;br&gt;ShopComposition offers a sliding navigation at the top of the site. Users can choose the content they would like to read and select the width of the content blocks. This store has an integrated blog and some further projects (such as picture-a-day) to attract customer’s attention. JavaScript in use.&lt;/p&gt;&lt;br /&gt;&lt;p class="showcase"&gt;&lt;a href="http://www.shopcomposition.com/"&gt;&lt;img original="http://media1.smashingmagazine.com/images/unusual-layouts/layouts-35.jpg" alt="Showcase of Unusual Layouts - ShopComposition | Composition | Outfitting Designers Since 2003" src="/wp-content/themes/SM-theme/img/blank.gif" width="500"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://www.forgetfoo.com/"&gt;forgetfoo&lt;/a&gt;&lt;br&gt;Forgetfoo uses an almost minimalistic, simple layout with a sidebar and a content area. Designers removed all necessary and unnecessary details focusing only on last blog entries. The design  doesn’t contain any category navigation options. That’s unusual, but may be a little bit too much of the minimalism. Navigation through blog posts is realized with Javascript.&lt;/p&gt;&lt;br /&gt;&lt;p class="showcase"&gt;&lt;a href="http://www.forgetfoo.com/"&gt;&lt;img original="http://media2.smashingmagazine.com/images/unusual-layouts/layouts-36.jpg" alt="Showcase of Unusual Layouts - foo // it\\" src="/wp-content/themes/SM-theme/img/blank.gif" width="500"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://www.include-digital.com/"&gt;Include&lt;/a&gt;&lt;br&gt;On Include one content block and the corresponding navigation block seem to “hang in the air”. Essentially the page has two columns; however. the layout seems to be quite original — maybe because of the cows placed on the background for some reason. The navigation on the right-hand side is realized with Javascript.&lt;/p&gt;&lt;br /&gt;&lt;p class="showcase"&gt;&lt;a href="http://www.include-digital.com/"&gt;&lt;img original="http://media2.smashingmagazine.com/images/unusual-layouts/layouts-38.jpg" alt="Showcase of Unusual Layouts - Include" src="/wp-content/themes/SM-theme/img/blank.gif" width="500"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://www.arcinspirations.com/kobe/"&gt;Kobe&lt;/a&gt;&lt;br&gt;The navigation options at the top of the site are slightly animated yet creating an appropriate atmosphere. Once one of the sections is clicked, the main content area &lt;strong&gt;slides vertically&lt;/strong&gt; — first the background image, then the content. If the content area also has some navigation options, they are slided vertically as well. In this situation it might be a slightly better design decision to use horizontal navigation instead to make it easier for visitors to distinguish between the primary and secondary navigation.&lt;/p&gt;&lt;br /&gt;&lt;p class="showcase"&gt; &lt;a href="http://www.arcinspirations.com/kobe/"&gt;&lt;img original="http://media1.smashingmagazine.com/images/advanced-design-solutions/kobe.jpg" src="/wp-content/themes/SM-theme/img/blank.gif" alt="Kobe" width="500" height="386"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://www.taptaptap.com/#groceries"&gt;tap tap tap&lt;/a&gt;&lt;br&gt;tap tap tap uses a bold and eye-catching layout to deliver the message to its visitors. The layout, although basically consisting of the sidebar and content area, is not boring at all and looks attractive. The left-hand side navigation and further effects are created using JavaScript.&lt;/p&gt;&lt;br /&gt;&lt;p class="showcase"&gt;&lt;a href="http://www.taptaptap.com/#groceries"&gt;&lt;img original="http://media1.smashingmagazine.com/images/unusual-layouts/layouts-42.jpg" alt="Showcase of Unusual Layouts - tap tap tap ~ Groceries" src="/wp-content/themes/SM-theme/img/blank.gif" width="500"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://youlove.us/"&gt;youlove.us&lt;/a&gt;&lt;br&gt;The layout on youlove.us is definitely very vibrant. It uses a large vivid background-image and a the scroll-effect to enable users to quickly jump from one section of the site to another. Notice that the navigation area is repeated four times, in each of the categories. Sliding effects are also used for each of the categories. Instead of using 20 separate page, the layout combines them all on one single page. The result is compact and user-friendly.&lt;/p&gt;&lt;br /&gt;&lt;p class="showcase"&gt;&lt;a href="http://youlove.us/"&gt;&lt;img original="http://media2.smashingmagazine.com/images/unusual-layouts/layouts-48.jpg" alt="Showcase of Unusual Layouts - youlove.us" src="/wp-content/themes/SM-theme/img/blank.gif" width="500"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Method: A Brand Experience Agency&lt;br&gt;This design agency uses a flexible JavaScript-based layout which updates its size depending on the browser window size. The content is “packed” in boxes is usual for such a grid-based design; however, the alignment of the boxes makes the design literally stand out.&lt;/p&gt;&lt;br /&gt;&lt;p class="showcase"&gt;&lt;img original="http://media2.smashingmagazine.com/images/unusual-layouts/layouts-50.jpg" alt="Showcase of Unusual Layouts - Method: A Brand Experience Agency" src="/wp-content/themes/SM-theme/img/blank.gif" width="500"&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://www.teamviget.com/"&gt;Viget Labs&lt;/a&gt;&lt;br&gt;Viget Labs also uses a sliding navigation and a horizontal scroll-effect to make the user interaction more dynamic and hence more appealing. However, more importantly, the layout itself stands out: the layout is invisible and resembles interactive Flash-interfaces. CSS+JavaScript in use. Smashing says: five out of five stars.&lt;/p&gt;&lt;br /&gt;&lt;p class="showcase"&gt;&lt;a href="http://www.teamviget.com/"&gt;&lt;img original="http://media1.smashingmagazine.com/images/unusual-layouts/layouts-1.jpg" alt="Showcase of Unusual Layouts - Viget Labs" src="/wp-content/themes/SM-theme/img/blank.gif" width="500"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://lucuma.com.ar/"&gt;Lucuma&lt;/a&gt;&lt;br&gt;Lucuma also uses horizontal layout as well as a horizontal slider-navigation. The simple yet effective integration of background images, navigation, videos and content makes the layout unusual and distinctive.&lt;/p&gt;&lt;br /&gt;&lt;p class="showcase"&gt;&lt;a href="http://lucuma.com.ar/"&gt;&lt;img original="http://media1.smashingmagazine.com/images/unusual-layouts/layouts-8.jpg" alt="Showcase of Unusual Layouts - Lucuma" src="/wp-content/themes/SM-theme/img/blank.gif" width="500"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://de-war.de/"&gt;Axel Peemoeller Design&lt;/a&gt;&lt;br&gt;On this page all design elements are draggable and some of them are clickable. Images seems to be thrown on you in the first moment, but in the end they all make sense. This is an unusual portfolio which is memorable and interesting to explore.&lt;/p&gt;&lt;br /&gt;&lt;p class="showcase"&gt;&lt;a href="http://de-war.de/"&gt;&lt;img original="http://media2.smashingmagazine.com/images/unusual-layouts/layouts-12.jpg" alt="Showcase of Unusual Layouts - Axel Peemoeller Design" src="/wp-content/themes/SM-theme/img/blank.gif" width="500"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://ideo.com/"&gt;IDEO&lt;/a&gt;&lt;br&gt;IDEO presents everything on its main page. The navigation options are placed in the black boxes and somehow arranged among other content boxes. Once one of the black boxes is hovered, related content blocks are highlighted. That’s not something most users would expect from a layout.&lt;/p&gt;&lt;br /&gt;&lt;p class="showcase"&gt;&lt;a href="http://ideo.com/"&gt;&lt;img original="http://media2.smashingmagazine.com/images/unusual-layouts/layouts-16.jpg" alt="Showcase of Unusual Layouts - IDEO" src="/wp-content/themes/SM-theme/img/blank.gif" width="500"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://creativeperson.info/"&gt;Bohdan Levishchenko&lt;/a&gt;&lt;br&gt;Bohdan Levishchenko uses the same approach as IDEO, but presents all navigation option at the top of the page. Single works are presented as images under the navigation and spread throughout the layout.&lt;/p&gt;&lt;br /&gt;&lt;p class="showcase"&gt;&lt;a href="http://creativeperson.info/"&gt;&lt;img original="http://media1.smashingmagazine.com/images/unusual-layouts/layouts-13.jpg" alt="Showcase of Unusual Layouts - Bohdan Levishchenko" src="/wp-content/themes/SM-theme/img/blank.gif" width="500"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://melissahie.com/"&gt;MelissaHie.com&lt;/a&gt;&lt;br&gt;Melissa Hie places all deign elements on a single large page. Visitors are basically driven from one site are to another using a scroll-effect.&lt;/p&gt;&lt;br /&gt;&lt;p class="showcase"&gt;&lt;a href="http://melissahie.com/"&gt;&lt;img original="http://media1.smashingmagazine.com/images/unusual-layouts/layouts-19.jpg" alt="Showcase of Unusual Layouts - www.MelissaHie.com" src="/wp-content/themes/SM-theme/img/blank.gif" width="500"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://www.hotel-oxford.ro/"&gt;Hotel Oxford - Timisoara&lt;/a&gt;&lt;br&gt;A single-page-site with a very calm and comforting layout. All navigation options are available at the first glance. Once some of the options is clicked, the content block on the left is dynamically replaced. The logo of the Hotel Oxford always remains on its place.&lt;/p&gt;&lt;br /&gt;&lt;p class="showcase"&gt;&lt;a href="http://www.hotel-oxford.ro/"&gt;&lt;img original="http://media2.smashingmagazine.com/images/unusual-layouts/layouts-20.jpg" alt="Showcase of Unusual Layouts - Hotel Oxford - Timisoara" src="/wp-content/themes/SM-theme/img/blank.gif" width="500"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://www.web-developers.net/portfolio/"&gt;thruSITES / Portfolio&lt;/a&gt;&lt;br&gt;In this portfolio the illustrations of a designer’s works seem to somehow be loosely placed on an invisible rope. When one of the illustration is clicked, all other elements arrange themselves in such a way that the content which this illustration represents becomes dominant.&lt;/p&gt;&lt;br /&gt;&lt;p class="showcase"&gt;&lt;a href="http://www.web-developers.net/portfolio/"&gt;&lt;img original="http://media2.smashingmagazine.com/images/unusual-layouts/layouts-21.jpg" alt="Showcase of Unusual Layouts - thruSITES / Portfolio" src="/wp-content/themes/SM-theme/img/blank.gif" width="500"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://www.erwinbauer.com/"&gt;Erwin Bauer KEG&lt;/a&gt;&lt;br&gt;The portfolio site of Erwin Bauer takes a different approach to using a pannable user interface, but implementing in JavaScript rather than in Flash. The site allows users to click and drag to pan the canvas, or to use links positioned around the content to move around. The design is clean, and mimics a design document with regisration and crop marks, and visual cues about the directions the canvas will pan to when you navigate. [&lt;a href="http://konigi.com/design/erwin-bauer-keg"&gt;via&lt;/a&gt;]&lt;/p&gt;&lt;br /&gt;&lt;p class="showcase"&gt;&lt;a href="http://www.erwinbauer.com/"&gt;&lt;img original="http://media1.smashingmagazine.com/images/unusual-layouts/layouts-26.jpg" alt="Showcase of Unusual Layouts - Erwin Bauer KEG â€“ DesignbÃ¼ro fÃ¼r Konzept &amp;amp; Gestaltung" src="/wp-content/themes/SM-theme/img/blank.gif" width="500"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h3&gt;5 × Getting Creative With Flash&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://www.thesecretlocation.com/"&gt;The Secret Location&lt;/a&gt;&lt;br&gt;The Secret Location, a media agency based in Toronto, Canada exemplifies their work, by providing an immersive flash experience around a conjured up story leading a character to follow a mysterious path that leads to the secret location. Very interactive approach, a very unusual site layout. [&lt;a href="http://konigi.com/design/secret-location"&gt;via&lt;/a&gt;]&lt;/p&gt;&lt;br /&gt;&lt;p class="showcase"&gt;&lt;a href="http://www.thesecretlocation.com/"&gt;&lt;img original="http://media1.smashingmagazine.com/images/unusual-layouts/layouts-25.jpg" alt="Showcase of Unusual Layouts - The Secret Location - 416 849 5298 - Interactive Media Production, Ideas, Experience Design, Tangible Media, Animation and Motion Graphics" src="/wp-content/themes/SM-theme/img/blank.gif" width="500"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://www.iameuropean.com/"&gt;Kamil Gottwald&lt;/a&gt;&lt;br&gt;In his layout Kamil Gottwald enables users to define the width of site columns manually. To navigate vertically users need to scroll horizontally. Hence no vertical scrollbar is necessary. Multiple site views are possible.&lt;/p&gt;&lt;br /&gt;&lt;p class="showcase"&gt;&lt;a href="http://www.iameuropean.com/"&gt;&lt;img original="http://media2.smashingmagazine.com/images/unusual-layouts/layouts-10.jpg" alt="Showcase of Unusual Layouts - Kamil Gottwald - interactive developer" src="/wp-content/themes/SM-theme/img/blank.gif" width="500"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://listen.grooveshark.com/"&gt;Grooveshark Lite &lt;/a&gt;&lt;br&gt;Grooveshark seems to imitate an iPod-interface and does it indeed very well. Although it may be not very creative, such layouts are hard to find on the Web.&lt;/p&gt;&lt;br /&gt;&lt;p class="showcase"&gt;&lt;a href="http://listen.grooveshark.com/"&gt;&lt;img original="http://media2.smashingmagazine.com/images/unusual-layouts/layouts-15.jpg" alt="Showcase of Unusual Layouts - Grooveshark Lite " src="/wp-content/themes/SM-theme/img/blank.gif" width="500"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://www.jeremylevine.com/"&gt;Jeremy Levine Design&lt;/a&gt;&lt;br&gt;Flash offers many creative possibilities for an interactive navigation design. Jeremy Levine uses dynamic paper strips which seem to hang in the air.&lt;/p&gt;&lt;br /&gt;&lt;p class="showcase"&gt;&lt;a href="http://www.jeremylevine.com/"&gt;&lt;img original="http://media1.smashingmagazine.com/images/unusual-layouts/layouts-23.jpg" alt="Showcase of Unusual Layouts - Jeremy Levine Design" src="/wp-content/themes/SM-theme/img/blank.gif" width="500"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://www.seymourpowell.com/"&gt;SeymourPowell&lt;/a&gt;&lt;br&gt;SeymourPowell has come up with an interesting idea to provide its visitors with some intuition of how good its work is. Click on the pile to find out.&lt;/p&gt;&lt;br /&gt;&lt;p class="showcase"&gt;&lt;a href="http://www.seymourpowell.com/"&gt;&lt;img original="http://media1.smashingmagazine.com/images/unusual-layouts/layouts-39.jpg" alt="Showcase of Unusual Layouts - Product Designers" src="/wp-content/themes/SM-theme/img/blank.gif" width="500"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://www.mukustudios.com/"&gt;Muku Studios&lt;/a&gt;&lt;br&gt;“Let Muku Do You”: this friendly buddy just wants to remain visible and hence he tries to find some place on the screen to keep an eye on site’s visitors. The layout of the site is simple yet memorable — well, Muku makes sure he’ll be remembered after the browser window is closed.&lt;/p&gt;&lt;br /&gt;&lt;p class="showcase"&gt;&lt;a href="http://www.mukustudios.com/"&gt;&lt;img original="http://media2.smashingmagazine.com/images/unusual-layouts/layouts-44.jpg" alt="Showcase of Unusual Layouts - Muku Studios | Let Muku Do You" src="/wp-content/themes/SM-theme/img/blank.gif" width="500"&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/578815938541519252-1020725392544344678?l=jquery-tricks.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jquery-tricks.blogspot.com/feeds/1020725392544344678/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jquery-tricks.blogspot.com/2009/08/40-creative-design-layouts-getting-out.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/578815938541519252/posts/default/1020725392544344678'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/578815938541519252/posts/default/1020725392544344678'/><link rel='alternate' type='text/html' href='http://jquery-tricks.blogspot.com/2009/08/40-creative-design-layouts-getting-out.html' title='40 Creative Design Layouts: Getting Out Of The Box'/><author><name>SoMeOnE</name><uri>http://www.blogger.com/profile/12328046872530550213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-578815938541519252.post-725882415083829375</id><published>2009-08-20T08:09:00.000-07:00</published><updated>2009-08-20T08:11:22.035-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xhtml'/><category scheme='http://www.blogger.com/atom/ns#' term='amazing'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorials'/><category scheme='http://www.blogger.com/atom/ns#' term='layout'/><category scheme='http://www.blogger.com/atom/ns#' term='jquery'/><category scheme='http://www.blogger.com/atom/ns#' term='design'/><category scheme='http://www.blogger.com/atom/ns#' term='source'/><category scheme='http://www.blogger.com/atom/ns#' term='html'/><category scheme='http://www.blogger.com/atom/ns#' term='codes'/><category scheme='http://www.blogger.com/atom/ns#' term='css'/><category scheme='http://www.blogger.com/atom/ns#' term='buttons'/><title type='text'>40+ Excellent jQuery Tutorials</title><content type='html'>&lt;p&gt;Most of you already aware that &lt;strong&gt;jQuery&lt;/strong&gt; is a lightweight JavaScript library that emphasizes interaction between JavaScript and HTML. it’s also known for fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. Or in developer’s words &lt;strong&gt;“write less, Do more”&lt;/strong&gt;.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Now days &lt;strong&gt;jQuery&lt;/strong&gt; is on top of its charm and everyone from Javascript world love to experiment with it. Because of the remarkable significance of JQuery in Designing field, it is an essential to keep yourself up-to-date with its Quality uses and Examples.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;In this article, we’ll take a look at &lt;strong&gt;Various jQuery Tutorials&lt;/strong&gt; for your source of inspiration.&lt;br&gt;&lt;br /&gt;&lt;span id="more-1893"&gt;&lt;/span&gt;&lt;br&gt;&lt;br /&gt;&lt;br clear="all"&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;For those, who don’t know what is jQuery? and what it can do? the please follow the link below for brief introduction.&lt;/p&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;&lt;a target="_blank" rel="external nofollow" href="http://docs.jquery.com/About"&gt;&lt;strong&gt;jQuery: The Write Less, Do More, JavaScript Library | jquery.com&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;a target="_blank" rel="external nofollow" href="http://en.wikipedia.org/wiki/JQuery"&gt;&lt;strong&gt;jQuery | From Wikipedia, the free encyclopedia&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;p&gt;&lt;strong&gt;You may be interested in the following related articles as well.&lt;/strong&gt;&lt;/p&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;&lt;a target="_blank" href="http://www.instantshift.com/2009/01/11/30-excellent-css-based-navigation-and-buttons-tutorial/"&gt;&lt;strong&gt;30 Excellent CSS Based Navigation and Buttons Tutorial&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;a target="_blank" href="http://www.instantshift.com/2009/01/20/65-smoking-photoshop-text-effect-tutorials/"&gt;&lt;strong&gt;65+ Smoking Photoshop Text Effect Tutorials&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;a target="_blank" href="http://www.instantshift.com/2009/01/25/26-essential-firefox-add-ons-for-web-designers/"&gt;&lt;strong&gt;26 Essential Firefox Add-ons for Web Designers&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;a target="_blank" href="http://www.instantshift.com/2008/10/29/all-new-php-css-html-help-sheets/"&gt;&lt;strong&gt;All New PHP, CSS &amp;amp; HTML Help Sheets&lt;/strong&gt;&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;p&gt;Please feel free to join us and you are always welcome to share your thoughts even if you have more reference links related to Inspiration that our readers may like.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;div class="newpost"&gt;&lt;br /&gt;&lt;h1&gt;&lt;span&gt;Excellent jQuery Tutorials&lt;/span&gt;&lt;/h1&gt;&lt;br /&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;span&gt;01. &lt;u&gt;jQuery for Absolute Beginners: The Complete Series&lt;/u&gt;&lt;/span&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;a target="_blank" rel="external nofollow" href="http://nettuts.com/articles/web-roundups/jquery-for-absolute-beginners-video-series/"&gt;&lt;img src="http://74.55.132.151/images/2009/02/ejt-01.jpg" alt="Excellent jQuery Tutorial" title="Excellent jQuery Tutorial" class="alignnone size-full top_m" width="640" height="275"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt;&lt;br clear="all"&gt;&lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://nettuts.com/articles/web-roundups/jquery-for-absolute-beginners-video-series/"&gt;Tutorial Link&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;span&gt;02. &lt;u&gt;jQuery Tutorials for Designers&lt;/u&gt;&lt;/span&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;a target="_blank" rel="external nofollow" href="http://www.webdesignerwall.com/tutorials/jquery-tutorials-for-designers/"&gt;&lt;img src="http://74.55.132.151/images/2009/02/ejt-02.jpg" alt="Excellent jQuery Tutorial" title="Excellent jQuery Tutorial" class="alignnone size-full top_m" width="640" height="275"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt;&lt;br clear="all"&gt;&lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://www.webdesignerwall.com/tutorials/jquery-tutorials-for-designers/"&gt;Tutorial Link&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;span&gt;03. &lt;u&gt;Facebox : Facebook-style lightbox&lt;/u&gt;&lt;/span&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;a target="_blank" rel="external nofollow" href="http://famspam.com/facebox"&gt;&lt;img src="http://74.55.132.151/images/2009/02/ejt-03.jpg" alt="Excellent jQuery Tutorial" title="Excellent jQuery Tutorial" class="alignnone size-full top_m" width="640" height="275"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt;&lt;br clear="all"&gt;&lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://famspam.com/facebox"&gt;Tutorial Link&lt;/a&gt; &lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://famspam.com/"&gt;Demo Link&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;span&gt;04. &lt;u&gt;Creating a “Filterable” Portfolio with jQuery&lt;/u&gt;&lt;/span&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;a target="_blank" rel="external nofollow" href="http://nettuts.com/tutorials/javascript-ajax/creating-a-filterable-portfolio-with-jquery/"&gt;&lt;img src="http://74.55.132.151/images/2009/02/ejt-04.jpg" alt="Excellent jQuery Tutorial" title="Excellent jQuery Tutorial" class="alignnone size-full top_m" width="640" height="275"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt;&lt;br clear="all"&gt;&lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://nettuts.com/tutorials/javascript-ajax/creating-a-filterable-portfolio-with-jquery/"&gt;Tutorial Link&lt;/a&gt; &lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://nettuts.s3.amazonaws.com/196_jquery/index.htm"&gt;Demo Link&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;span&gt;05. &lt;u&gt;Building a jQuery-Powered Tag-Cloud&lt;/u&gt;&lt;/span&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;a target="_blank" rel="external nofollow" href="http://nettuts.com/tutorials/javascript-ajax/building-a-jquery-powered-tag-cloud/"&gt;&lt;img src="http://74.55.132.151/images/2009/02/ejt-05.jpg" alt="Excellent jQuery Tutorial" title="Excellent jQuery Tutorial" class="alignnone size-full top_m" width="640" height="275"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt;&lt;br clear="all"&gt;&lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://nettuts.com/tutorials/javascript-ajax/building-a-jquery-powered-tag-cloud/"&gt;Tutorial Link&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;span&gt;06. &lt;u&gt;jquery Hover Sub Tag Cloud&lt;/u&gt;&lt;/span&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;a target="_blank" rel="external nofollow" href="http://www.noupe.com/css/jquery-hover-sub-tag-cloud.html"&gt;&lt;img src="http://74.55.132.151/images/2009/02/ejt-06.jpg" alt="Excellent jQuery Tutorial" title="Excellent jQuery Tutorial" class="alignnone size-full top_m" width="640" height="275"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt;&lt;br clear="all"&gt;&lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://www.noupe.com/css/jquery-hover-sub-tag-cloud.html"&gt;Tutorial Link&lt;/a&gt; &lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://noupe.com/examples/tagcloud/tag-cloud.html"&gt;Demo Link&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;span&gt;07. &lt;u&gt;Exactly How to Create a Custom jQuery Accordion&lt;/u&gt;&lt;/span&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;a target="_blank" rel="external nofollow" href="http://nettuts.com/tutorials/javascript-ajax/exactly-how-to-create-a-custom-jquery-accordion/"&gt;&lt;img src="http://74.55.132.151/images/2009/02/ejt-07.jpg" alt="Excellent jQuery Tutorial" title="Excellent jQuery Tutorial" class="alignnone size-full top_m" width="640" height="275"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt;&lt;br clear="all"&gt;&lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://nettuts.com/tutorials/javascript-ajax/exactly-how-to-create-a-custom-jquery-accordion/"&gt;Tutorial Link&lt;/a&gt; &lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://www.nettuts.com/demos/020_jQueryUI/accordion-custom-jquery.php"&gt;Demo Link&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;span&gt;08. &lt;u&gt;Create a Cool Animated Navigation with CSS and jQuery&lt;/u&gt;&lt;/span&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;a target="_blank" rel="external nofollow" href="http://nettuts.com/tutorials/javascript-ajax/create-a-cool-animated-navigation-with-css-and-jquery/"&gt;&lt;img src="http://74.55.132.151/images/2009/02/ejt-08.jpg" alt="Excellent jQuery Tutorial" title="Excellent jQuery Tutorial" class="alignnone size-full top_m" width="640" height="275"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt;&lt;br clear="all"&gt;&lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://nettuts.com/tutorials/javascript-ajax/create-a-cool-animated-navigation-with-css-and-jquery/"&gt;Tutorial Link&lt;/a&gt; &lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://nettuts.s3.amazonaws.com/009_jQueryMenu/sm/result/index.html"&gt;Demo Link&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;span&gt;09. &lt;u&gt;Learn How to Create a jQuery Plugin&lt;/u&gt;&lt;/span&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;a target="_blank" rel="external nofollow" href="http://nettuts.com/videos/screencasts/learn-how-to-create-a-jquery-plugin/"&gt;&lt;img src="http://74.55.132.151/images/2009/02/ejt-09.jpg" alt="Excellent jQuery Tutorial" title="Excellent jQuery Tutorial" class="alignnone size-full top_m" width="640" height="275"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt;&lt;br clear="all"&gt;&lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://nettuts.com/videos/screencasts/learn-how-to-create-a-jquery-plugin/"&gt;Tutorial Link&lt;/a&gt; &lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://nettuts.s3.amazonaws.com/074_BuildYourFirstJqueryPluginSC/CreateYourFirstjQueryPlugin/index.htm"&gt;Demo Link&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;span&gt;10. &lt;u&gt;Jquery Fade In.Fade Out&lt;/u&gt;&lt;/span&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;a target="_blank" rel="external nofollow" href="http://hv-designs.co.uk/2009/01/19/jquery-fade-infade-out/"&gt;&lt;img src="http://74.55.132.151/images/2009/02/ejt-10.jpg" alt="Excellent jQuery Tutorial" title="Excellent jQuery Tutorial" class="alignnone size-full top_m" width="640" height="275"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt;&lt;br clear="all"&gt;&lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://hv-designs.co.uk/2009/01/19/jquery-fade-infade-out/"&gt;Tutorial Link&lt;/a&gt; &lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://www.hv-designs.co.uk/tutorials/jquery/all.html"&gt;Demo Link&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;span&gt;11. &lt;u&gt;Fading Menu - Replacing Content&lt;/u&gt;&lt;/span&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;a target="_blank" rel="external nofollow" href="http://css-tricks.com/learning-jquery-fading-menu-replacing-content/"&gt;&lt;img src="http://74.55.132.151/images/2009/02/ejt-11.jpg" alt="Excellent jQuery Tutorial" title="Excellent jQuery Tutorial" class="alignnone size-full top_m" width="640" height="275"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt;&lt;br clear="all"&gt;&lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://css-tricks.com/learning-jquery-fading-menu-replacing-content/"&gt;Tutorial Link&lt;/a&gt; &lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://css-tricks.com/examples/MenuFader/"&gt;Demo Link&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;span&gt;12. &lt;u&gt;Fade-in Spoiler Revealer&lt;/u&gt;&lt;/span&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;a target="_blank" rel="external nofollow" href="http://css-tricks.com/fade-in-spoiler-revealer/"&gt;&lt;img src="http://74.55.132.151/images/2009/02/ejt-12.jpg" alt="Excellent jQuery Tutorial" title="Excellent jQuery Tutorial" class="alignnone size-full top_m" width="640" height="275"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt;&lt;br clear="all"&gt;&lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://css-tricks.com/fade-in-spoiler-revealer/"&gt;Tutorial Link&lt;/a&gt; &lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://css-tricks.com/examples/SpoilerRevealer/"&gt;Demo Link&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;span&gt;13. &lt;u&gt;Creating a Dynamic Poll with jQuery and PHP&lt;/u&gt;&lt;/span&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;a target="_blank" rel="external nofollow" href="http://nettuts.com/tutorials/javascript-ajax/creating-a-dynamic-poll-with-jquery-and-php/"&gt;&lt;img src="http://74.55.132.151/images/2009/02/ejt-13.jpg" alt="Excellent jQuery Tutorial" title="Excellent jQuery Tutorial" class="alignnone size-full top_m" width="640" height="275"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt;&lt;br clear="all"&gt;&lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://nettuts.com/tutorials/javascript-ajax/creating-a-dynamic-poll-with-jquery-and-php/"&gt;Tutorial Link&lt;/a&gt; &lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://nettuts.com/demos/test_poll/"&gt;Demo Link&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;span&gt;14. &lt;u&gt;Creating accessible charts using canvas and jQuery&lt;/u&gt;&lt;/span&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;a target="_blank" rel="external nofollow" href="http://www.filamentgroup.com/lab/creating_accessible_charts_using_canvas_and_jquery/"&gt;&lt;img src="http://74.55.132.151/images/2009/02/ejt-14.jpg" alt="Excellent jQuery Tutorial" title="Excellent jQuery Tutorial" class="alignnone size-full top_m" width="640" height="275"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt;&lt;br clear="all"&gt;&lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://www.filamentgroup.com/lab/creating_accessible_charts_using_canvas_and_jquery/"&gt;Tutorial Link&lt;/a&gt; &lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://www.filamentgroup.com/examples/charting/"&gt;Demo Link&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;span&gt;15. &lt;u&gt;Create a Photo Admin Site Using PHP and jQuery&lt;/u&gt;&lt;/span&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;a target="_blank" rel="external nofollow" href="http://nettuts.com/videos/screencasts/create-a-photo-admin-site-using-php-and-jquery/"&gt;&lt;img src="http://74.55.132.151/images/2009/02/ejt-15.jpg" alt="Excellent jQuery Tutorial" title="Excellent jQuery Tutorial" class="alignnone size-full top_m" width="640" height="275"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt;&lt;br clear="all"&gt;&lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://nettuts.com/videos/screencasts/create-a-photo-admin-site-using-php-and-jquery/"&gt;Tutorial Link&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;span&gt;16. &lt;u&gt;Use jQuery with Google Analytics to Track Clicks on Outgoing Links From Your Site&lt;/u&gt;&lt;/span&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;a target="_blank" rel="external nofollow" href="http://www.think2loud.com/2008/08/use-jquery-with-google-analytics-to-track-clicks-on-outgoing-links-from-your-site/"&gt;&lt;img src="http://74.55.132.151/images/2009/02/ejt-16.jpg" alt="Excellent jQuery Tutorial" title="Excellent jQuery Tutorial" class="alignnone size-full top_m" width="640" height="275"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt;&lt;br clear="all"&gt;&lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://www.think2loud.com/2008/08/use-jquery-with-google-analytics-to-track-clicks-on-outgoing-links-from-your-site/"&gt;Tutorial Link&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;span&gt;17. &lt;u&gt;How to Load In and Animate Content with jQuery&lt;/u&gt;&lt;/span&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;a target="_blank" rel="external nofollow" href="http://nettuts.com/tutorials/javascript-ajax/how-to-load-in-and-animate-content-with-jquery/"&gt;&lt;img src="http://74.55.132.151/images/2009/02/ejt-17.jpg" alt="Excellent jQuery Tutorial" title="Excellent jQuery Tutorial" class="alignnone size-full top_m" width="640" height="275"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt;&lt;br clear="all"&gt;&lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://nettuts.com/tutorials/javascript-ajax/how-to-load-in-and-animate-content-with-jquery/"&gt;Tutorial Link&lt;/a&gt; &lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://nettuts.s3.amazonaws.com/011_jQuerySite/sample/index.html"&gt;Demo Link&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;span&gt;18. &lt;u&gt;Create an Amazon Books Widget with jQuery and XML&lt;/u&gt;&lt;/span&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;a target="_blank" rel="external nofollow" href="http://nettuts.com/tutorials/javascript-ajax/create-an-amazoncom-books-widget-with-jquery-and-xml/"&gt;&lt;img src="http://74.55.132.151/images/2009/02/ejt-18.jpg" alt="Excellent jQuery Tutorial" title="Excellent jQuery Tutorial" class="alignnone size-full top_m" width="640" height="275"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt;&lt;br clear="all"&gt;&lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://nettuts.com/tutorials/javascript-ajax/create-an-amazoncom-books-widget-with-jquery-and-xml/"&gt;Tutorial Link&lt;/a&gt; &lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://nettuts.s3.amazonaws.com/152_jqueryBook/source/source/index.html"&gt;Demo Link&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;span&gt;19. &lt;u&gt;Adding to Our Leopard Desktop with jQuery&lt;/u&gt;&lt;/span&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;a target="_blank" rel="external nofollow" href="http://nettuts.com/tutorials/javascript-ajax/adding-to-our-leopard-desktop-with-jquery/"&gt;&lt;img src="http://74.55.132.151/images/2009/02/ejt-19.jpg" alt="Excellent jQuery Tutorial" title="Excellent jQuery Tutorial" class="alignnone size-full top_m" width="640" height="275"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt;&lt;br clear="all"&gt;&lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://nettuts.com/tutorials/javascript-ajax/adding-to-our-leopard-desktop-with-jquery/"&gt;Tutorial Link&lt;/a&gt; &lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://nettuts.s3.amazonaws.com/082_leopard2/preview/index.html"&gt;Demo Link&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;span&gt;20. &lt;u&gt;Leopard Desktop with jQuery using jqDock&lt;/u&gt;&lt;/span&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;a target="_blank" rel="external nofollow" href="http://nettuts.com/tutorials/javascript-ajax/leopard-desktop-in-jquery-using-jqdock/"&gt;&lt;img src="http://74.55.132.151/images/2009/02/ejt-20.jpg" alt="Excellent jQuery Tutorial" title="Excellent jQuery Tutorial" class="alignnone size-full top_m" width="640" height="275"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt;&lt;br clear="all"&gt;&lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://nettuts.com/tutorials/javascript-ajax/leopard-desktop-in-jquery-using-jqdock/"&gt;Tutorial Link&lt;/a&gt; &lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://nettuts.s3.amazonaws.com/076_jQueryDashboard/preview/preview.html"&gt;Demo Link&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;span&gt;21. &lt;u&gt;How To Create An Amazing jQuery Style Switcher&lt;/u&gt;&lt;/span&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;a target="_blank" rel="external nofollow" href="http://nettuts.com/tutorials/javascript-ajax/jquery-style-switcher/"&gt;&lt;img src="http://74.55.132.151/images/2009/02/ejt-21.jpg" alt="Excellent jQuery Tutorial" title="Excellent jQuery Tutorial" class="alignnone size-full top_m" width="640" height="275"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt;&lt;br clear="all"&gt;&lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://nettuts.com/tutorials/javascript-ajax/jquery-style-switcher/"&gt;Tutorial Link&lt;/a&gt; &lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://nettuts.com/demos/03_jQueryStyleSwitcher/demo/index.php"&gt;Demo Link&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;span&gt;22. &lt;u&gt;Style Sheet Switcheroo&lt;/u&gt;&lt;/span&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;a target="_blank" rel="external nofollow" href="http://15daysofjquery.com/style-sheet-switcheroo/12/"&gt;&lt;img src="http://74.55.132.151/images/2009/02/ejt-22.jpg" alt="Excellent jQuery Tutorial" title="Excellent jQuery Tutorial" class="alignnone size-full top_m" width="640" height="275"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt;&lt;br clear="all"&gt;&lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://15daysofjquery.com/style-sheet-switcheroo/12/"&gt;Tutorial Link&lt;/a&gt; &lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://www.kelvinluck.com/assets/jquery/styleswitch/"&gt;Demo Link&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;span&gt;23. &lt;u&gt;Build An Incredible Login Form With jQuery&lt;/u&gt;&lt;/span&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;a target="_blank" rel="external nofollow" href="http://nettuts.com/tutorials/javascript-ajax/build-a-top-panel-with-jquery/"&gt;&lt;img src="http://74.55.132.151/images/2009/02/ejt-23.jpg" alt="Excellent jQuery Tutorial" title="Excellent jQuery Tutorial" class="alignnone size-full top_m" width="640" height="275"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt;&lt;br clear="all"&gt;&lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://nettuts.com/tutorials/javascript-ajax/build-a-top-panel-with-jquery/"&gt;Tutorial Link&lt;/a&gt; &lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://nettuts.s3.amazonaws.com/041_TopPanelWithJquery/demo/index.html"&gt;Demo Link&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;span&gt;24. &lt;u&gt;Adding Form Validation to WordPress Comments using jQuery&lt;/u&gt;&lt;/span&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;a target="_blank" rel="external nofollow" href="http://nettuts.com/tutorials/wordpress/adding-form-validation-to-wordpress-comments-using-jquery/"&gt;&lt;img src="http://74.55.132.151/images/2009/02/ejt-24.jpg" alt="Excellent jQuery Tutorial" title="Excellent jQuery Tutorial" class="alignnone size-full top_m" width="640" height="275"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt;&lt;br clear="all"&gt;&lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://nettuts.com/tutorials/wordpress/adding-form-validation-to-wordpress-comments-using-jquery/"&gt;Tutorial Link&lt;/a&gt; &lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://nettuts.s3.amazonaws.com/021_Form/demo.html"&gt;Demo Link&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;span&gt;25. &lt;u&gt;Evening Tip: Use jQuery To Retrieve Data From An XML File&lt;/u&gt;&lt;/span&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;a target="_blank" rel="external nofollow" href="http://nettuts.com/tutorials/javascript-ajax/use-jquery-to-retrieve-data-from-an-xml-file/"&gt;&lt;img src="http://74.55.132.151/images/2009/02/ejt-25.jpg" alt="Excellent jQuery Tutorial" title="Excellent jQuery Tutorial" class="alignnone size-full top_m" width="640" height="275"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt;&lt;br clear="all"&gt;&lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://nettuts.com/tutorials/javascript-ajax/use-jquery-to-retrieve-data-from-an-xml-file/"&gt;Tutorial Link&lt;/a&gt; &lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://nettuts.s3.amazonaws.com/045_LoadXMLWithJquery/index.html"&gt;Demo Link&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;span&gt;26. &lt;u&gt;Improved Current Field Highlighting in Forms&lt;/u&gt;&lt;/span&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;a target="_blank" rel="external nofollow" href="http://css-tricks.com/improved-current-field-highlighting-in-forms/"&gt;&lt;img src="http://74.55.132.151/images/2009/02/ejt-26.jpg" alt="Excellent jQuery Tutorial" title="Excellent jQuery Tutorial" class="alignnone size-full top_m" width="640" height="275"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt;&lt;br clear="all"&gt;&lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://css-tricks.com/improved-current-field-highlighting-in-forms/"&gt;Tutorial Link&lt;/a&gt; &lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://css-tricks.com/examples/CurrentFieldHighlighting/"&gt;Demo Link&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;span&gt;27. &lt;u&gt;Create an apple style menu and improve it via jQuery&lt;/u&gt;&lt;/span&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;a target="_blank" rel="external nofollow" href="http://www.kriesi.at/archives/apple-menu-improved-with-jquery"&gt;&lt;img src="http://74.55.132.151/images/2009/02/ejt-27.jpg" alt="Excellent jQuery Tutorial" title="Excellent jQuery Tutorial" class="alignnone size-full top_m" width="640" height="275"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt;&lt;br clear="all"&gt;&lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://www.kriesi.at/archives/apple-menu-improved-with-jquery"&gt;Tutorial Link&lt;/a&gt; &lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://www.kriesi.at/wp-content/extra_data/kwicks_tutorial/kwicks_final.html"&gt;Demo Link&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;span&gt;28. &lt;u&gt;LavaLamp for jQuery lovers!&lt;/u&gt;&lt;/span&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;a target="_blank" rel="external nofollow" href="http://gmarwaha.com/blog/?cat=8"&gt;&lt;img src="http://74.55.132.151/images/2009/02/ejt-28.jpg" alt="Excellent jQuery Tutorial" title="Excellent jQuery Tutorial" class="alignnone size-full top_m" width="640" height="275"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt;&lt;br clear="all"&gt;&lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://gmarwaha.com/blog/?cat=8"&gt;Tutorial Link&lt;/a&gt; &lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://gmarwaha.com/blog/?cat=8"&gt;Demo Link&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;span&gt;29. &lt;u&gt;Create A Tabbed Interface Using jQuery&lt;/u&gt;&lt;/span&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;a target="_blank" rel="external nofollow" href="http://nettuts.com/tutorials/javascript-ajax/create-a-tabbed-interface-using-jquery/"&gt;&lt;img src="http://74.55.132.151/images/2009/02/ejt-29.jpg" alt="Excellent jQuery Tutorial" title="Excellent jQuery Tutorial" class="alignnone size-full top_m" width="640" height="275"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt;&lt;br clear="all"&gt;&lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://nettuts.com/tutorials/javascript-ajax/create-a-tabbed-interface-using-jquery/"&gt;Tutorial Link&lt;/a&gt; &lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://nettuts.s3.amazonaws.com/042_jQueryUITabs/demo/index.html"&gt;Demo Link&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;span&gt;30. &lt;u&gt;Tabbed Content using jQuery and WP_Query&lt;/u&gt;&lt;/span&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;a target="_blank" rel="external nofollow" href="http://nettuts.com/tutorials/wordpress/tabbed-content-using-jquery-and-wp_query/"&gt;&lt;img src="http://74.55.132.151/images/2009/02/ejt-30.jpg" alt="Excellent jQuery Tutorial" title="Excellent jQuery Tutorial" class="alignnone size-full top_m" width="640" height="275"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt;&lt;br clear="all"&gt;&lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://nettuts.com/tutorials/wordpress/tabbed-content-using-jquery-and-wp_query/"&gt;Tutorial Link&lt;/a&gt; &lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://nettuts.s3.amazonaws.com/024_Tabbed/preview/preview.html"&gt;Demo Link&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;span&gt;31. &lt;u&gt;Create a Slick Tabbed Content Area using CSS &amp;amp; jQuery&lt;/u&gt;&lt;/span&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;a target="_blank" rel="external nofollow" href="http://nettuts.com/tutorials/html-css-techniques/how-to-create-a-slick-tabbed-content-area/"&gt;&lt;img src="http://74.55.132.151/images/2009/02/ejt-31.jpg" alt="Excellent jQuery Tutorial" title="Excellent jQuery Tutorial" class="alignnone size-full top_m" width="640" height="275"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt;&lt;br clear="all"&gt;&lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://nettuts.com/tutorials/html-css-techniques/how-to-create-a-slick-tabbed-content-area/"&gt;Tutorial Link&lt;/a&gt; &lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://nettuts.s3.amazonaws.com/001_Tabbed/site/jQuery.html"&gt;Demo Link&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;span&gt;32. &lt;u&gt;jQuery Tabs&lt;/u&gt;&lt;/span&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;a target="_blank" rel="external nofollow" href="http://jqueryfordesigners.com/jquery-tabs/"&gt;&lt;img src="http://74.55.132.151/images/2009/02/ejt-32.jpg" alt="Excellent jQuery Tutorial" title="Excellent jQuery Tutorial" class="alignnone size-full top_m" width="640" height="275"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt;&lt;br clear="all"&gt;&lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://jqueryfordesigners.com/jquery-tabs/"&gt;Tutorial Link&lt;/a&gt; &lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://jqueryfordesigners.com/demo/tabs.html"&gt;Demo Link&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;span&gt;33. &lt;u&gt;How To Create A ‘Mootools Homepage’ Inspired Navigation Effect Using jQuery&lt;/u&gt;&lt;/span&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;a target="_blank" rel="external nofollow" href="http://nettuts.com/tutorials/javascript-ajax/how-to-create-a-mootools-homepage-inspired-navigation-effect-using-jquery/"&gt;&lt;img src="http://74.55.132.151/images/2009/02/ejt-33.jpg" alt="Excellent jQuery Tutorial" title="Excellent jQuery Tutorial" class="alignnone size-full top_m" width="640" height="275"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt;&lt;br clear="all"&gt;&lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://nettuts.com/tutorials/javascript-ajax/how-to-create-a-mootools-homepage-inspired-navigation-effect-using-jquery/"&gt;Tutorial Link&lt;/a&gt; &lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://nettuts.s3.amazonaws.com/004_Moo/tutorial/demo/demo.html"&gt;Demo Link&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;span&gt;34. &lt;u&gt;Slide out and drawer effect&lt;/u&gt;&lt;/span&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;a target="_blank" rel="external nofollow" href="http://jqueryfordesigners.com/slide-out-and-drawer-effect/"&gt;&lt;img src="http://74.55.132.151/images/2009/02/ejt-34.jpg" alt="Excellent jQuery Tutorial" title="Excellent jQuery Tutorial" class="alignnone size-full top_m" width="640" height="275"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt;&lt;br clear="all"&gt;&lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://jqueryfordesigners.com/slide-out-and-drawer-effect/"&gt;Tutorial Link&lt;/a&gt; &lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://jqueryfordesigners.com/demo/plugin-slide-demo.html"&gt;Demo Link&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;span&gt;35. &lt;u&gt;Creating a Floating HTML Menu Using jQuery and CSS&lt;/u&gt;&lt;/span&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;a target="_blank" rel="external nofollow" href="http://nettuts.com/tutorials/html-css-techniques/creating-a-floating-html-menu-using-jquery-and-css/"&gt;&lt;img src="http://74.55.132.151/images/2009/02/ejt-35.jpg" alt="Excellent jQuery Tutorial" title="Excellent jQuery Tutorial" class="alignnone size-full top_m" width="640" height="275"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt;&lt;br clear="all"&gt;&lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://nettuts.com/tutorials/html-css-techniques/creating-a-floating-html-menu-using-jquery-and-css/"&gt;Tutorial Link&lt;/a&gt; &lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://nettuts.s3.amazonaws.com/018_Floating_Menu/demo/dhtml_float_menu_final_nettut.html"&gt;Demo Link&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;span&gt;36. &lt;u&gt;Building a Better Blogroll: Dynamic Fun with SimplePie and jQuery&lt;/u&gt;&lt;/span&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;a target="_blank" rel="external nofollow" href="http://nettuts.com/tutorials/javascript-ajax/building-a-better-blogroll-dynamic-fun-with-simplepie-and-jquery/"&gt;&lt;img src="http://74.55.132.151/images/2009/02/ejt-36.jpg" alt="Excellent jQuery Tutorial" title="Excellent jQuery Tutorial" class="alignnone size-full top_m" width="640" height="275"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt;&lt;br clear="all"&gt;&lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://nettuts.com/tutorials/javascript-ajax/building-a-better-blogroll-dynamic-fun-with-simplepie-and-jquery/"&gt;Tutorial Link&lt;/a&gt; &lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://nettuts.s3.amazonaws.com/036_BetterBlogRoll/sourceFiles/index.html"&gt;Demo Link&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;span&gt;37. &lt;u&gt;Wordpress Sidebar Turned Apple-Flashy Using jQuery UI&lt;/u&gt;&lt;/span&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;a target="_blank" rel="external nofollow" href="http://nettuts.com/tutorials/wordpress/wordpress-sidebar-turned-apple-flashy-using-jquery-ui/"&gt;&lt;img src="http://74.55.132.151/images/2009/02/ejt-37.jpg" alt="Excellent jQuery Tutorial" title="Excellent jQuery Tutorial" class="alignnone size-full top_m" width="640" height="275"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt;&lt;br clear="all"&gt;&lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://nettuts.com/tutorials/wordpress/wordpress-sidebar-turned-apple-flashy-using-jquery-ui/"&gt;Tutorial Link&lt;/a&gt; &lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://nettuts.s3.amazonaws.com/028_jQuerySidebar/preview/preview.html"&gt;Demo Link&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;span&gt;38. &lt;u&gt;Build a Basic Newspaper style layout with Wordpress and jQuery&lt;/u&gt;&lt;/span&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;a target="_blank" rel="external nofollow" href="http://nettuts.com/tutorials/wordpress/build-a-basic-newspaper-style-layout-with-wordpress-and-jquery/"&gt;&lt;img src="http://74.55.132.151/images/2009/02/ejt-38.jpg" alt="Excellent jQuery Tutorial" title="Excellent jQuery Tutorial" class="alignnone size-full top_m" width="640" height="275"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt;&lt;br clear="all"&gt;&lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://nettuts.com/tutorials/wordpress/build-a-basic-newspaper-style-layout-with-wordpress-and-jquery/"&gt;Tutorial Link&lt;/a&gt; &lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://nettuts.s3.amazonaws.com/023_Newspaper/preview/preview.html"&gt;Demo Link&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;span&gt;39. &lt;u&gt;jQuery image slider&lt;/u&gt;&lt;/span&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;a target="_blank" rel="external nofollow" href="http://www.gcmingati.net/wordpress/wp-content/lab/jquery/imagestrip/imageslide-plugin.html"&gt;&lt;img src="http://74.55.132.151/images/2009/02/ejt-39.jpg" alt="Excellent jQuery Tutorial" title="Excellent jQuery Tutorial" class="alignnone size-full top_m" width="640" height="275"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt;&lt;br clear="all"&gt;&lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://www.gcmingati.net/wordpress/wp-content/lab/jquery/imagestrip/imageslide-plugin.html"&gt;Tutorial Link&lt;/a&gt; &lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://www.gcmingati.net/wordpress/wp-content/lab/jquery/imagestrip/imageslide-plugin.html"&gt;Demo Link&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;span&gt;40. &lt;u&gt;Slider Gallery&lt;/u&gt;&lt;/span&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;a target="_blank" rel="external nofollow" href="http://jqueryfordesigners.com/slider-gallery/"&gt;&lt;img src="http://74.55.132.151/images/2009/02/ejt-40.jpg" alt="Excellent jQuery Tutorial" title="Excellent jQuery Tutorial" class="alignnone size-full top_m" width="640" height="275"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt;&lt;br clear="all"&gt;&lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://jqueryfordesigners.com/slider-gallery/"&gt;Tutorial Link&lt;/a&gt; &lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://jqueryfordesigners.com/demo/slider-gallery.html"&gt;Demo Link&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;span&gt;41. &lt;u&gt;Photo Slider Tutorial&lt;/u&gt;&lt;/span&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;a target="_blank" rel="external nofollow" href="http://opiefoto.com/articles/photoslider"&gt;&lt;img src="http://74.55.132.151/images/2009/02/ejt-41.jpg" alt="Excellent jQuery Tutorial" title="Excellent jQuery Tutorial" class="alignnone size-full top_m" width="640" height="275"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt;&lt;br clear="all"&gt;&lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://opiefoto.com/articles/photoslider"&gt;Tutorial Link&lt;/a&gt; &lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://opiefoto.com/portfolio/Weddings"&gt;Demo Link&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;span&gt;42. &lt;u&gt;Multiple File Upload Magic With Unobtrusive Javascript&lt;/u&gt;&lt;/span&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;a target="_blank" rel="external nofollow" href="http://15daysofjquery.com/multiple-file-upload-magic-with-unobtrusive-javascript/17/"&gt;&lt;img src="http://74.55.132.151/images/2009/02/ejt-42.jpg" alt="Excellent jQuery Tutorial" title="Excellent jQuery Tutorial" class="alignnone size-full top_m" width="640" height="275"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt;&lt;br clear="all"&gt;&lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://15daysofjquery.com/multiple-file-upload-magic-with-unobtrusive-javascript/17/"&gt;Tutorial Link&lt;/a&gt; &lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://15daysofjquery.com/examples/multiFile/demo2.php"&gt;Demo Link&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;span&gt;43. &lt;u&gt;Easy Multi Select Transfer with jQuery&lt;/u&gt;&lt;/span&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;a target="_blank" rel="external nofollow" href="http://blog.jeremymartin.name/2008/02/easy-multi-select-transfer-with-jquery.html"&gt;&lt;img src="http://74.55.132.151/images/2009/02/ejt-43.jpg" alt="Excellent jQuery Tutorial" title="Excellent jQuery Tutorial" class="alignnone size-full top_m" width="640" height="275"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt;&lt;br clear="all"&gt;&lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://blog.jeremymartin.name/2008/02/easy-multi-select-transfer-with-jquery.html"&gt;Tutorial Link&lt;/a&gt; &lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://blog.jeremymartin.name/2008/02/easy-multi-select-transfer-with-jquery.html"&gt;Demo Link&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;span&gt;44. &lt;u&gt;Rounded Corners With Javascript (jQuery)&lt;/u&gt;&lt;/span&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;a target="_blank" rel="external nofollow" href="http://15daysofjquery.com/wrap-it-up-pretty-corners/13/"&gt;&lt;img src="http://74.55.132.151/images/2009/02/ejt-44.jpg" alt="Excellent jQuery Tutorial" title="Excellent jQuery Tutorial" class="alignnone size-full top_m" width="640" height="275"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt;&lt;br clear="all"&gt;&lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://15daysofjquery.com/wrap-it-up-pretty-corners/13/"&gt;Tutorial Link&lt;/a&gt; &lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://15daysofjquery.com/examples/rounded/demo.php"&gt;Demo Link&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;span&gt;45. &lt;u&gt;Multiple Fancy Drop Caps&lt;/u&gt;&lt;/span&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;a target="_blank" rel="external nofollow" href="http://www.learningjquery.com/2006/12/multiple-fancy-drop-caps"&gt;&lt;img src="http://74.55.132.151/images/2009/02/ejt-45.jpg" alt="Excellent jQuery Tutorial" title="Excellent jQuery Tutorial" class="alignnone size-full top_m" width="640" height="275"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt;&lt;br clear="all"&gt;&lt;a class="comments_l" target="_blank" rel="external nofollow" href="http://www.learningjquery.com/2006/12/multiple-fancy-drop-caps"&gt;Tutorial Link&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/578815938541519252-725882415083829375?l=jquery-tricks.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jquery-tricks.blogspot.com/feeds/725882415083829375/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jquery-tricks.blogspot.com/2009/08/40-excellent-jquery-tutorials.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/578815938541519252/posts/default/725882415083829375'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/578815938541519252/posts/default/725882415083829375'/><link rel='alternate' type='text/html' href='http://jquery-tricks.blogspot.com/2009/08/40-excellent-jquery-tutorials.html' title='40+ Excellent jQuery Tutorials'/><author><name>SoMeOnE</name><uri>http://www.blogger.com/profile/12328046872530550213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-578815938541519252.post-7940417832102686839</id><published>2009-08-20T08:05:00.000-07:00</published><updated>2009-08-20T08:09:12.032-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xhtml'/><category scheme='http://www.blogger.com/atom/ns#' term='sliding'/><category scheme='http://www.blogger.com/atom/ns#' term='amazing'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorials'/><category scheme='http://www.blogger.com/atom/ns#' term='layout'/><category scheme='http://www.blogger.com/atom/ns#' term='jquery'/><category scheme='http://www.blogger.com/atom/ns#' term='design'/><category scheme='http://www.blogger.com/atom/ns#' term='source'/><category scheme='http://www.blogger.com/atom/ns#' term='html'/><category scheme='http://www.blogger.com/atom/ns#' term='codes'/><category scheme='http://www.blogger.com/atom/ns#' term='css'/><category scheme='http://www.blogger.com/atom/ns#' term='buttons'/><title type='text'>Javascript in Modern Web Design</title><content type='html'>&lt;p class="intro"&gt;In today’s web design, Javascript is a must-have component. Aside from its functionality, Javascript can enhance user experience by creating transitional effects such as fading and sliding animation. Thanks to the open source Javascript frameworks, we don’t need to write custom Javascript from scratch anymore.  Here are 47 Javascript plugins that you can use to enhance the user experience and functionality of your website. Don’t forget to check out the sample sites, which show how the plugins can be used.&lt;span id="more-178"&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;h3&gt;The Two Popular Javascript Frameworks&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;Right now, the two commonly used Javascript frameworks are: &lt;a href="http://jquery.com"&gt;jQuery&lt;/a&gt; and &lt;a href="http://mootools.net"&gt;MooTools&lt;/a&gt;. Check out the poll below:&lt;/p&gt;&lt;br /&gt;&lt;div id="polls-3" class="wp-polls"&gt;&lt;br /&gt;&lt;form id="polls_form_3" class="wp-polls-form" action="/general/javascript-in-modern-web-design/" method="post"&gt;&lt;br /&gt;&lt;p style="display: none;"&gt;&lt;br /&gt;&lt;input name="poll_id" value="3" type="hidden"&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class="poll-question"&gt;Your favorite Javascript framework?&lt;/p&gt;&lt;br /&gt;&lt;div id="polls-3-ans" class="wp-polls-ans"&gt;&lt;br /&gt;&lt;ul class="wp-polls-ul"&gt;&lt;br /&gt;&lt;li&gt;&lt;br /&gt;&lt;input id="poll-answer-11" name="poll_3" value="11" type="radio"&gt; &lt;label for="poll-answer-11"&gt;Dojo&lt;/label&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;br /&gt;&lt;input id="poll-answer-12" name="poll_3" value="12" type="radio"&gt; &lt;label for="poll-answer-12"&gt;jQuery&lt;/label&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;br /&gt;&lt;input id="poll-answer-13" name="poll_3" value="13" type="radio"&gt; &lt;label for="poll-answer-13"&gt;MooTools&lt;/label&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;br /&gt;&lt;input id="poll-answer-14" name="poll_3" value="14" type="radio"&gt; &lt;label for="poll-answer-14"&gt;Prototype&lt;/label&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;br /&gt;&lt;input id="poll-answer-15" name="poll_3" value="15" type="radio"&gt; &lt;label for="poll-answer-15"&gt;Other..&lt;/label&gt;&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;p class="clearfix vote"&gt;&lt;br /&gt;&lt;input name="vote" value="   Vote   " class="Buttons" onclick="poll_vote(3);" onkeypress="poll_result(3);" type="button"&gt;&lt;a href="#ViewPollResults" onclick="poll_result(3); return false;" onkeypress="poll_result(3); return false;" title="View Results Of This Poll" class="poll_result"&gt;View Results&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;/div&gt;&lt;/form&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div id="polls-3-loading" class="wp-polls-loading"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/plugins/polls/images/loading.gif" alt="Loading ..." title="Loading ..." class="wp-polls-image" width="16" height="16"&gt;&amp;nbsp;Loading …&lt;/div&gt;&lt;br /&gt;&lt;h3&gt;Image Zoom and Popup&lt;/h3&gt;&lt;br /&gt;&lt;p class="image right"&gt;&lt;a href="http://soobox.com"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/08/soobox.jpg" alt="sample site"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt; &lt;a href="http://www.grafikas.com"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/08/grafikas2.jpg" alt="sample site"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt; &lt;a href="http://www.tumblize.com"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/08/tumblize.jpg" alt="sample site"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt; &lt;a href="http://poolga.com/en"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/08/poolga.jpg" alt="sample site"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt; &lt;a href="http://www.stoodeo.com"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/08/stoodeo2.jpg" alt="sample site"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt; &lt;a href="http://www.gap.com/browse/product.do?cid=11540&amp;amp;pid=569988"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/08/gap.jpg" alt="sample site"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt;&lt;a href="http://www.betseyjohnson.com/Charmeuse_Ruffle_Dress/pd/c/0/np/0/p/5626.html"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/08/betseyjohnson.jpg" alt="sample site"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;a href="http://www.huddletogether.com/projects/lightbox2/"&gt;Lightbox&lt;/a&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;You’re probably very familiar with Lightbox — a light Javascript used to display overlay images on the current page. The &lt;a href="http://www.huddletogether.com/projects/lightbox/"&gt;original Lightbox&lt;/a&gt; was released in 2005. Since then, there are many scripts released with similar features using different approaches and Javascript libraries.&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;a href="http://leandrovieira.com/projects/jquery/lightbox/"&gt;jQuery lightBox Plugin&lt;/a&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;This is exactly the same as Lightbox JS, but written on top of jQuery library.&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;a href="http://jquery.com/demo/thickbox/"&gt;Thickbox&lt;/a&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;Thickbox is a jQuery plugin that is very similar to Lightbox, but comes with more features. It allows you to display: single image, multiple images, inline content, iframed content, or content served through AJAX in a hybrid modal.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Note: Web Designer Wall uses Thickbox to display the gallery images and tutorial demos.&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;a href="http://vikjavev.no/highslide/"&gt;Highslide JS&lt;/a&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;Highslide JS serves the same purposes as Thickbox, but it has the zoom effect and allows you to drag the overlay window.&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;a href="http://fancy.klade.lv"&gt;FancyBox&lt;/a&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;FancyBox is a jQuery plugin that is designed to replace the overused Lightbox. It has similar features, but better transition effects (the design is Mac-like).&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;a href="http://www.mind-projects.it/blog/jqzoom_v10"&gt;jQZoom&lt;/a&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;jQZoom allows you to show a magnified image of the thumbnail. This technique is commonly used in eCommerce websites (check out the &lt;a href="http://www.gap.com/browse/product.do?cid=11540&amp;amp;pid=569988"&gt;Gap site&lt;/a&gt; for a sample).&lt;/p&gt;&lt;br /&gt;&lt;h3&gt;Gallery and Slideshow&lt;/h3&gt;&lt;br /&gt;&lt;p class="image right"&gt; &lt;a href="http://muse.drewwilson.com/showcase/61/"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/08/muse.jpg" alt="sample site"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt; &lt;a href="http://devkick.com/lab/galleria/demo_01.htm"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/08/devkick.jpg" alt="sample site"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt; &lt;a href="http://www.estudiomopa.com/site/?p=188&amp;amp;lang=en#ancorimage"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/08/estudiomopa.jpg" alt="sample site"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt;&lt;a href="http://www.apple.com/mac/"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/08/apple-mac.jpg" alt="sample site"&gt;&lt;/a&gt; &lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;a href="http://www.electricprism.com/aeron/slideshow/"&gt;Slideshow 2! for Mootools&lt;/a&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;Slideshow 2! is a javascript class for Mootools 1.2 to stream and animate the presentation of images on your website.&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;a href="http://smoothgallery.jondesign.net/showcase/timed-gallery/"&gt;SmoothGallery&lt;/a&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;Using mootools v1.11, this javascript gallery and slideshow system allows you to have simple and smooth (cross-fading…) image galleries, slideshows, showcases and other cool stuff on your website.&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;a href="http://devkick.com/lab/galleria/"&gt;jQuery Galleria&lt;/a&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;Galleria is a javascript image gallery written in jQuery. It loads the images one by one from an unordered list and displays thumbnails when each image is loaded. It will create thumbnails for you if you choose so, scaled or unscaled, centered and cropped inside a fixed thumbnail box defined by CSS.&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;a href="http://www.efectorelativo.net/laboratory/noobSlide/"&gt;Noobslide&lt;/a&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;NoobSlide is  a MooTools class that lets you  create timed slideshows and sliding panels. Visit the &lt;a href="http://www.efectorelativo.net/laboratory/noobSlide/"&gt;website&lt;/a&gt; to view the demos.&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;a href="http://jqueryfordesigners.com/slider-gallery/"&gt;Product Slider&lt;/a&gt; &lt;small&gt;(&lt;a href="http://jqueryfordesigners.com/demo/slider-gallery.html"&gt;demo&lt;/a&gt;)&lt;/small&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;This shows a demonstration of a slider widget from the jQuery UI library used to create the product slider as seen on the &lt;a href="http://www.apple.com/mac/"&gt;Apple - Mac website&lt;/a&gt;.&lt;/p&gt;&lt;br /&gt;&lt;h3&gt;Carousel&lt;/h3&gt;&lt;br /&gt;&lt;p class="image right"&gt; &lt;a href="http://www.vivaviralvideo.com"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/08/vivaviralvideo.jpg" alt="sample site"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt; &lt;a href="http://metalabdesign.com"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/08/metalabdesign.jpg" alt="sample site"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt; &lt;a href="http://www.playintraffik.com"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/08/playintraffik.jpg" alt="sample site"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt; &lt;a href="http://ketchup-2007.nyxen.net"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/08/ketchup2.jpg" alt="sample site"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;a href="http://sorgalla.com/jcarousel/"&gt;jCarousel&lt;/a&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;jCarousel is a jQuery plugin for controlling a list of items in horizontal or vertical order. The items, which can be static HTML content or loaded with (or without) AJAX, can be scrolled back and forth (with or without animation).&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;a href="http://billwscott.com/carousel/"&gt;YUI Carousel Component&lt;/a&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;The carousel component manages a list of content (HTML LI elements within a UL) that can be displayed horizontally or vertically. The content can be scrolled back and forth with or without animation. The content can reference static HTML content or the list items can be created dynamically on-the-fly (with or without Ajax).&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;a href="http://www.dynamicdrive.com/dynamicindex14/carousel.htm"&gt;DynamicDrive - Carousel Slideshow&lt;/a&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;Carousel Slideshow is a fabulous DHTML script for the showcasing of images on your site. It displays images in a 3D, carousel fashion.&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;a href="http://zendold.lojcomm.com.br/icarousel/"&gt;iCarousel - MooTools&lt;/a&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;iCarousel is an open source (free) javascript tool for creating carousel like widgets. You can use iCarousel as news ticker/scroller or image gallery slider.&lt;/p&gt;&lt;br /&gt;&lt;h3&gt;Panel Slider&lt;/h3&gt;&lt;br /&gt;&lt;p class="image right"&gt; &lt;a href="http://www.panic.com/coda"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/08/coda.jpg" alt="sample site"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt; &lt;a href="http://www.phorsite.com"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/08/phorsite.jpg" alt="sample site"&gt;&lt;/a&gt; &lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;a href="http://www.ndoherty.com/demos/coda-slider/1.1.1/"&gt;Coda Slider Plugin&lt;/a&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;Coda Slider is a jQuery plugin that imitates the panel sliding effects as seen on the &lt;a href="http://www.panic.com/coda/"&gt;Coda&lt;/a&gt; website.&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;a href="http://jqueryfordesigners.com/coda-slider-effect/"&gt;jQuery Coda Slide Tutorial&lt;/a&gt; &lt;small&gt;(&lt;a href="http://jqueryfordesigners.com/demo/coda-slider.html"&gt;demo&lt;/a&gt;)&lt;/small&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;This is a tutorial from &lt;a href="http://jqueryfordesigners.com/coda-slider-effect/"&gt;jQuery For Designers&lt;/a&gt; to show you how to create the Coda panel slider.&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;a href="http://creativepony.com/journal/scripts/sliding-tabs/"&gt;Sliding Tabs&lt;/a&gt; &lt;small&gt;(&lt;a href="http://creativepony.com/demos/sliding-tabs/"&gt;demo&lt;/a&gt;)&lt;/small&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;Sliding Tabs is a mootools 1.11 plugin which adds a pretty neat effect. It’s a clone of something seen on Panic Software’s Coda site, which in turn was very similar to a widget used in the iTunes Music Store.&lt;/p&gt;&lt;br /&gt;&lt;h3&gt;Tabs&lt;/h3&gt;&lt;br /&gt;&lt;p class="image right"&gt; &lt;a href="http://www.komodomedia.com"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/08/komodomedia.jpg" alt="sample site"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt; &lt;a href="http://www.ijsfontein.nl"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/08/ijsfontein.jpg" alt="sample site"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt; &lt;a href="http://www.headscape.co.uk"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/08/headscape.jpg" alt="sample site"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;a href="http://www.stilbuero.de/jquery/tabs_3/"&gt;jQuery UI Tabs&lt;/a&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;jQuery Tabs is a powerful and flexible jQuery plugin that lets you create customizable tab navigation (highly recommended).&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;a href="http://jqueryfordesigners.com/jquery-tabs/"&gt;jQuery Tabs Tutorial&lt;/a&gt; &lt;small&gt;(&lt;a href="http://jqueryfordesigners.com/demo/tabs.html"&gt;demo&lt;/a&gt;)&lt;/small&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;Another awesome tutorial from &lt;a href="http://jqueryfordesigners.com/demo/tabs.html"&gt;jQueryForDesigners.com&lt;/a&gt; to show you how to create a basic tab navigation with jQuery.&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;a href="http://www.silverscripting.com/mootabs/"&gt;MooTabs&lt;/a&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;MooTabs is a tiny(3kb) class for MooTools. As the name suggests, its main purpose is to help out with the creation of simple tab navigation.&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;a href="http://nettuts.com/javascript-ajax/create-a-tabbed-interface-using-jquery/"&gt;Sliding Tabs Tutorial&lt;/a&gt; &lt;small&gt;(&lt;a href="http://nettuts.s3.amazonaws.com/042_jQueryUITabs/demo/index.html"&gt;demo&lt;/a&gt;)&lt;/small&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;A tutorial from &lt;a href="http://nettuts.com/javascript-ajax/create-a-tabbed-interface-using-jquery/"&gt;Nettuts.com&lt;/a&gt; to show you how to create a sliding tab with jQuery.&lt;/p&gt;&lt;br /&gt;&lt;h3&gt;Scroll to Anchor&lt;/h3&gt;&lt;br /&gt;&lt;p class="image right"&gt; &lt;a href="http://lukelarsen.com"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/08/lukelarsen2.jpg" alt="sample site"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt; &lt;a href="http://www.campingilfrutteto.it"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/08/campingilfrutteto2.jpg" alt="sample site"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt; &lt;a href="http://www.volll.com"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/08/volll2.jpg" alt="sample site"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;a href="http://plugins.jquery.com/project/scrollto"&gt;jQuery ScrollTo&lt;/a&gt; &lt;small&gt;(&lt;a href="http://demos.flesler.com/jquery/scrollTo/"&gt;demo&lt;/a&gt;)&lt;/small&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;A very flexible jQuery plugin that lets you create scrolling animation to any position of a web page with customizable erasing and speed options.&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;a href="http://davidwalsh.name/smoothscroll-mootools-12"&gt;SmoothScroll&lt;/a&gt; &lt;small&gt;(&lt;a href="http://davidwalsh.name/dw-content/moo1.2-smoothscroll.php"&gt;demo&lt;/a&gt;)&lt;/small&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;A simple MooTools script that creates smooth scrolling to anchors on a web page.&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;a href="http://www.learningjquery.com/2007/09/animated-scrolling-with-jquery-12"&gt;Animated Scrolling with jQuery&lt;/a&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://www.learningjquery.com/2007/09/animated-scrolling-with-jquery-12"&gt;Learning jQuery&lt;/a&gt; shows you how to create an animated "scroll to anchor" with just a few lines of code.&lt;/p&gt;&lt;br /&gt;&lt;h3&gt;Tooltips&lt;/h3&gt;&lt;br /&gt;&lt;p class="image right"&gt; &lt;a href="http://bestwebgallery.com"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/08/bestwebgallery.jpg" alt="sample site"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt; &lt;a href="http://www.shiftspace.org"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/08/shiftspace.jpg" alt="sample site"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;a href="http://codylindley.com/Javascript/264/jtip-a-jquery-tool-tip"&gt;jTips&lt;/a&gt; &lt;small&gt;(&lt;a href="http://www.codylindley.com/blogstuff/js/jtip/"&gt;demo&lt;/a&gt;)&lt;/small&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;A customizable jQuery plugin that displays tooltip popup  — with either static html text or Ajax content.&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;a href="http://bassistance.de/jquery-plugins/jquery-plugin-tooltip/"&gt;jQuery Tooltip Plugin&lt;/a&gt; &lt;small&gt;(&lt;a href="http://bassistance.de/jquery-plugins/jquery-plugin-tooltip/"&gt;demo&lt;/a&gt;)&lt;/small&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;Another nice Tooltip plugin.&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;a href="http://cssglobe.com/post/1695/easiest-tooltip-and-image-preview-using-jquery"&gt;Tooltip and Image Preview&lt;/a&gt; &lt;small&gt;(&lt;a href="http://cssglobe.com/lab/tooltip/02/"&gt;demo&lt;/a&gt;)&lt;/small&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;A very simple jQuery script that displays tooltip and image preview (I use it on &lt;a href="http://bestwebgallery.com"&gt;Best Web Gallery&lt;/a&gt;).&lt;/p&gt;&lt;br /&gt;&lt;h3&gt;Accordion&lt;/h3&gt;&lt;br /&gt;&lt;p class="image right"&gt; &lt;a href="http://www.juliendassonval.com"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/08/juliendassonval2.jpg" alt="sample site"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt; &lt;a href="http://www.mariusroosendaal.com"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/08/mariusroosendaal2.jpg" alt="sample site"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt; &lt;a href="http://www.apple.com/downloads/"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/08/apple-sidebar.jpg" alt="sample site"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;a href="http://bassistance.de/jquery-plugins/jquery-plugin-accordion/"&gt;jQuery Accordion&lt;/a&gt; &lt;small&gt;(&lt;a href="http://jquery.bassistance.de/accordion/demo/"&gt;demo&lt;/a&gt;)&lt;/small&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;This plugin creates an accordion menu. It works with nested lists, definition lists, or just nested divs.&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;a href="http://jqueryfordesigners.com/slide-out-and-drawer-effect/"&gt;Apple.com Sidebar Accordion&lt;/a&gt; &lt;small&gt;(&lt;a href="http://jqueryfordesigners.com/demo/plugin-slide-demo.html"&gt;demo&lt;/a&gt;)&lt;/small&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://jqueryfordesigners.com/slide-out-and-drawer-effect/"&gt;jQueryForDesigner.com&lt;/a&gt; shows you how to create the accordion slider as seen on the &lt;a href="http://www.apple.com/downloads/"&gt;Apple website&lt;/a&gt;.&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;a href="http://demos.mootools.net/Accordion"&gt;MooTools Accordion&lt;/a&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;The Accordion gives you a fancy way to show only the content you really need.&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;a href="http://www.phatfusion.net/imagemenu/"&gt;MooTools Image Menu&lt;/a&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;Image Menu is a MooTools plugin that creates the horizontal accordion image menu.&lt;/p&gt;&lt;br /&gt;&lt;h3&gt;Flash and Image Text Replacement&lt;/h3&gt;&lt;br /&gt;&lt;p class="image right"&gt; &lt;a href="http://www.hotmeteor.com"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/08/hotmeteor2.jpg" alt="sample site"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt; &lt;a href="http://blog.epicerastudio.com"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/08/epicerastudio.jpg" alt="sample site"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt; &lt;a href="http://darkmotion.com"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/08/darkmotion.jpg" alt="sample site"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;a href="http://novemberborn.net/sifr3"&gt;sIFR 3&lt;/a&gt; &lt;small&gt;(&lt;a href="http://dev.novemberborn.net/sifr3/beta2/demo/"&gt;demo&lt;/a&gt;)&lt;/small&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;sIFR is meant to replace short passages of plain browser text with text rendered in your typeface of choice, regardless of whether or not your users have that font installed on their systems. It accomplishes this by using a combination of javascript, CSS, and Flash.&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;a href="http://jquery.thewikies.com/sifr/"&gt;jQuery sIFR&lt;/a&gt; &lt;small&gt;(&lt;a href="http://jquery.thewikies.com/sifr/#examples"&gt;demo&lt;/a&gt;)&lt;/small&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;A jQuery plugin that does the sIFR for you.&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;a href="http://facelift.mawhorter.net/examples/"&gt;FLIR&lt;/a&gt; &lt;small&gt;(&lt;a href="http://facelift.mawhorter.net/preview/"&gt;demo&lt;/a&gt;)&lt;/small&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;Facelift Image Replacement  is an image replacement script that dynamically generates image representations of text on your web page in fonts that otherwise might not be visible to your visitors. The generated image will be automatically inserted into your web page via Javascript and visible to all modern browsers.&lt;/p&gt;&lt;br /&gt;&lt;h3&gt;CSS Stylesheet Switcher&lt;/h3&gt;&lt;br /&gt;&lt;p class="image right"&gt; &lt;a href="http://www.mariusroosendaal.com"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/08/mariusroosendaal-theme.jpg" alt="sample site"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt; &lt;a href="http://www.wishtree.org"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/08/wishtree.jpg" alt="sample site"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;a href="http://www.alistapart.com/stories/alternate/"&gt;A List Apart - Alternative Style&lt;/a&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;The original stylesheet switcher by Paul Sowden. Believe it or not, this trick was invented in 2001 (not a modern trick after all).&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;a href="http://www.kelvinluck.com/article/switch-stylesheets-with-jquery"&gt;Switch Stylesheets with jQuery&lt;/a&gt;&lt;small&gt; (&lt;a href="http://www.kelvinluck.com/assets/jquery/styleswitch/"&gt;demo&lt;/a&gt;)&lt;/small&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;Stylesheet switcher with jQuery.&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;a href="http://www.mensching.info/program/mootools-styleswitcher-en.html"&gt;MooTools Styleswitcher &lt;/a&gt; &lt;small&gt;(&lt;a href="http://www.mensching.info/program/demo-styleswitcher1/styleswitcher-demo-en.html"&gt;demo&lt;/a&gt;)&lt;/small&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;CSS stylesheet switcher with MooTools.&lt;/p&gt;&lt;br /&gt;&lt;h3&gt;Form Styling&lt;/h3&gt;&lt;br /&gt;&lt;p class="image right"&gt; &lt;a href="http://lipidity.com/fancy-form/demo/"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/08/fancy-form.jpg" alt="sample site"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt; &lt;a href="http://www.no-margin-for-errors.com/projects/prettyCheckboxes/"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/08/prettycheckboxes.jpg" alt="sample site"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt; &lt;a href="http://www.frequency-decoder.com/demo/slider-v2/colourPicker/"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/08/slider-control.jpg" alt="sample site"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;a href="http://lipidity.com/fancy-form/"&gt;FancyForm - MooTools&lt;/a&gt; &lt;small&gt;(&lt;a href="http://lipidity.com/fancy-form/demo/"&gt;demo&lt;/a&gt;)&lt;/small&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;A MooTools plugin that replaces the browser default checkboxes and radio buttons with custom styles.&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;a href="http://www.no-margin-for-errors.com/projects/prettyCheckboxes/"&gt;PrettyCheckboxes - jQuery&lt;/a&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;Same as FancyForm, but using jQuery library.&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;a href="http://www.brainfault.com/2008/02/10/new-release-of-jquery-selectbox-replacement/"&gt;jQuery Selectbox Plugin&lt;/a&gt; &lt;small&gt;(&lt;a href="http://www.brainfault.com/demo/selectbox/0.5/"&gt;demo&lt;/a&gt;)&lt;/small&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;A simple plugin that allows you to replace the form select list with custom styles.&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;a href="http://ryanfait.com/resources/custom-checkboxes-and-radio-buttons/"&gt;Custom Checkboxes, Radio Buttons, Select Lists&lt;/a&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;Give your form a complete makeover with this Javascript and CSS.&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;a href="http://mucur.name/posts/jquery-example"&gt;jQuery Form Input Example Plugin&lt;/a&gt; &lt;small&gt;(&lt;a href="http://mucur.name/system/jquery_example/"&gt;demo&lt;/a&gt;)&lt;/small&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;A jQuery plugin that gives  user hints on what to enter in the input fields.&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;a href="http://www.frequency-decoder.com/2008/08/01/unobtrusive-slider-control-v2"&gt;Unobtrusive Slider Control V2&lt;/a&gt;&lt;a href="http://www.brainfault.com/2008/02/10/new-release-of-jquery-selectbox-replacement/"&gt;&lt;/a&gt; &lt;small&gt;(&lt;a href="http://www.frequency-decoder.com/demo/slider-v2/colourPicker/"&gt;demo&lt;/a&gt;)&lt;/small&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;This script lets you create custom slider controls associated with input fields.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;em&gt;More Form styling links at &lt;a href="http://www.noupe.com/css/form-elements-40-cssjs-styling-and-functionality-techniques.html"&gt;Noupe.com/css/form-elements…&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;&lt;br /&gt;&lt;h3&gt;Form Validation&lt;/h3&gt;&lt;br /&gt;&lt;p class="image right"&gt; &lt;a href="http://www.tastebook.com/collections/0?show_new_tb=true&amp;amp;virtual=true"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/08/tastebook.jpg" alt="sample site"&gt;&lt;/a&gt;&lt;br&gt;&lt;br /&gt; &lt;a href="http://www.tumblize.com/#form"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/08/tumblize-form.jpg" alt="sample site"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;a href="http://bassistance.de/jquery-plugins/jquery-plugin-validation/"&gt;jQuery Validate&lt;/a&gt;&lt;small&gt; (&lt;a href="http://jquery.bassistance.de/validate/demo/"&gt;demo&lt;/a&gt;)&lt;/small&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;A very plugin that allows you to build client-side validation and Ajax form.&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;a href="http://www.phatfusion.net/validate/"&gt;MooTools Validate&lt;/a&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;A MooTools form validation plugin (similar to jQuery Validate).&lt;/p&gt;&lt;br /&gt;&lt;h4&gt;&lt;a href="http://www.jsvalidate.com"&gt;JSValidate&lt;/a&gt;&lt;small&gt; (&lt;a href="http://www.jsvalidate.com/demo/"&gt;demo&lt;/a&gt;)&lt;/small&gt;&lt;/h4&gt;&lt;br /&gt;&lt;p&gt;JSValidate is a form validator that utilizes aspects of prototype and scriptaculous to bring you a simple to execute, non-intrusive javascript form validator. With minimal setup, your forms can be processing clean data in no time at all.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/578815938541519252-7940417832102686839?l=jquery-tricks.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jquery-tricks.blogspot.com/feeds/7940417832102686839/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jquery-tricks.blogspot.com/2009/08/in-todays-web-design-javascript-is-must.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/578815938541519252/posts/default/7940417832102686839'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/578815938541519252/posts/default/7940417832102686839'/><link rel='alternate' type='text/html' href='http://jquery-tricks.blogspot.com/2009/08/in-todays-web-design-javascript-is-must.html' title='Javascript in Modern Web Design'/><author><name>SoMeOnE</name><uri>http://www.blogger.com/profile/12328046872530550213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-578815938541519252.post-9114791339450210407</id><published>2009-08-20T07:57:00.000-07:00</published><updated>2009-08-20T08:03:49.696-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xhtml'/><category scheme='http://www.blogger.com/atom/ns#' term='sliding'/><category scheme='http://www.blogger.com/atom/ns#' term='amazing'/><category scheme='http://www.blogger.com/atom/ns#' term='tutorials'/><category scheme='http://www.blogger.com/atom/ns#' term='layout'/><category scheme='http://www.blogger.com/atom/ns#' term='jquery'/><category scheme='http://www.blogger.com/atom/ns#' term='design'/><category scheme='http://www.blogger.com/atom/ns#' term='source'/><category scheme='http://www.blogger.com/atom/ns#' term='html'/><category scheme='http://www.blogger.com/atom/ns#' term='codes'/><category scheme='http://www.blogger.com/atom/ns#' term='css'/><category scheme='http://www.blogger.com/atom/ns#' term='buttons'/><title type='text'>best jQuery Tutorials for Designers</title><content type='html'>&lt;p class="intro"&gt;This article contains 10 visual tutorials intended for web designers and newbies on how to apply Javascript effects with jQuery. In case you don’t know about &lt;a href="http://jquery.com"&gt;jQuery&lt;/a&gt;, it is a "write less, do more" Javascript library. It has many Ajax and Javascript features that allow you to enhance user experience and semantic coding. Since these tutorials are focused on jQuery, I’m not going to get into the details of the CSS.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;em&gt;Note: the version used in this article is jQuery 1.2.3&lt;/em&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class="btn preview left"&gt;&lt;a href="http://www.webdesignerwall.com/demo/jquery/"&gt;View &lt;span&gt;jQuery Demos&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class="btn download"&gt;&lt;a href="http://www.webdesignerwall.com/file/jquery-tutorials.zip" title="Download source files"&gt;Download &lt;span&gt; Demo ZIP&lt;/span&gt;&lt;/a&gt;&lt;span id="more-145"&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;h3&gt;How jQuery works?&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;First you need to download a copy of &lt;a href="http://jquery.com"&gt;jQuery&lt;/a&gt; and insert it in your html page (preferably within the &lt;code&gt;&amp;lt;head&amp;gt;&lt;/code&gt; tag). Then you need to write functions to tell jQuery what to do. The diagram below explains the detail how jQuery work:&lt;/p&gt;&lt;br /&gt;&lt;p class="image"&gt;&lt;a href="http://www.webdesignerwall.com/wp-content/uploads/2008/02/jquery-how-it-works.gif" class="thickbox"&gt;&lt;span class="zoom"&gt;&lt;/span&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/02/jquery-how-it-works-sm.gif" alt="how jquery works"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;h3&gt;How to get the element?&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;Writing jQuery function is relatively easy (thanks to the wonderful &lt;a href="http://docs.jquery.com/Main_Page"&gt;documentation&lt;/a&gt;). The key point you have to learn is how to get the exact element that you want to apply the effects.&lt;/p&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;&lt;code&gt;$("#header")&lt;/code&gt; = get the element with id="header"&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;code&gt;$("h3")&lt;/code&gt; = get all &amp;lt;h3&amp;gt; element&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;code&gt;$("div#content .photo")&lt;/code&gt; = get all element with class="photo" nested in the &amp;lt;div id="content"&amp;gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;code&gt;$("ul li")&lt;/code&gt; = get all  &amp;lt;li&amp;gt; element nested in all &amp;lt;ul&amp;gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;code&gt;$("ul li:first")&lt;/code&gt; = get only the first &amp;lt;li&amp;gt; element of the &amp;lt;ul&amp;gt;&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;h3&gt;&lt;em&gt;1.&lt;/em&gt; Simple slide panel&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;Let’s start by doing a simple slide panel. You’ve probably seen a lot of this, where you click on a link and a panel slide up/down. &lt;em&gt;(view &lt;a href="http://www.webdesignerwall.com/demo/jquery/simple-slide-panel.html"&gt;demo&lt;/a&gt;)&lt;/em&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class="image"&gt;&lt;a href="http://www.webdesignerwall.com/demo/jquery/simple-slide-panel.html"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/02/sample1.gif" alt="sample"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;When an elment with class="btn-slide" is clicked, it will slideToggle (up/down) the &amp;lt;div id="panel"&amp;gt; element and then toggle a CSS class="active" to the &amp;lt;a class="btn-slide"&amp;gt; element. The .active class will toggle the background position of the arrow image (by CSS).&lt;/p&gt;&lt;br /&gt;&lt;pre&gt;&lt;code class="javascript"&gt;$(document).ready(&lt;span class="keyword"&gt;function&lt;/span&gt;(){&lt;br /&gt;&lt;br /&gt; $(&lt;span class="string"&gt;".btn-slide"&lt;/span&gt;).click(&lt;span class="keyword"&gt;function&lt;/span&gt;(){&lt;br /&gt;   $(&lt;span class="string"&gt;"#panel"&lt;/span&gt;).slideToggle(&lt;span class="string"&gt;"slow"&lt;/span&gt;);&lt;br /&gt;   $(&lt;span class="keyword"&gt;this&lt;/span&gt;).toggleClass(&lt;span class="string"&gt;"active"&lt;/span&gt;);&lt;br /&gt; });&lt;br /&gt;&lt;br /&gt;});&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;h3&gt;&lt;em&gt;2.&lt;/em&gt; Simple disappearing effect&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;This sample will show you how to make something disappear when an image button is clicked. &lt;em&gt;(view &lt;a href="http://www.webdesignerwall.com/demo/jquery/simple-disappear.html"&gt;demo&lt;/a&gt;)&lt;/em&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class="image"&gt;&lt;a href="http://www.webdesignerwall.com/demo/jquery/simple-disappear.html"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/02/sample2.gif" alt="sample"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;When the &amp;lt;img class="delete"&amp;gt; is clicked, it will find its parent element &amp;lt;div class="pane"&amp;gt; and animate its opacity=hide with slow speed.&lt;/p&gt;&lt;br /&gt;&lt;pre&gt;&lt;code class="javascript"&gt;$(document).ready(&lt;span class="keyword"&gt;function&lt;/span&gt;(){&lt;br /&gt;&lt;br /&gt; $(&lt;span class="string"&gt;".pane .delete"&lt;/span&gt;).click(&lt;span class="keyword"&gt;function&lt;/span&gt;(){&lt;br /&gt;   $(&lt;span class="keyword"&gt;this&lt;/span&gt;).parents(&lt;span class="string"&gt;".pane"&lt;/span&gt;).animate({ opacity: &lt;span class="string"&gt;"hide"&lt;/span&gt; }, &lt;span class="string"&gt;"slow"&lt;/span&gt;);&lt;br /&gt; });&lt;br /&gt;&lt;br /&gt;});&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;h3&gt;&lt;em&gt;3&lt;/em&gt; Chain-able transition effects&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;Now let’s see the power of jQuery’s chainability. With just several lines of code, I can make the box fly around with scaling and fading transition. &lt;em&gt;(view &lt;a href="http://www.webdesignerwall.com/demo/jquery/chainable-effects.html"&gt;demo&lt;/a&gt;)&lt;/em&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class="image"&gt;&lt;a href="http://www.webdesignerwall.com/demo/jquery/chainable-effects.html"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/02/multi-animation.gif" alt="sample"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;strong&gt;Line 1&lt;/strong&gt;: when the &amp;lt;a class="run"&amp;gt; is clicked&lt;br&gt;&lt;br /&gt;  &lt;strong&gt;Line 2&lt;/strong&gt;: animate the &amp;lt;div id="box"&amp;gt; opacity=0.1, left property until it reaches 400px, with speed 1200 (milliseconds)&lt;br&gt;&lt;br /&gt;  &lt;strong&gt;Line 3&lt;/strong&gt;: then opacity=0.4, top=160px, height=20, width=20, with speed "slow"&lt;br&gt;&lt;br /&gt;  &lt;strong&gt;Line 4&lt;/strong&gt;: then opacity=1, left=0, height=100, width=100, with speed "slow"&lt;br&gt;&lt;br /&gt;  &lt;strong&gt;Line 5&lt;/strong&gt;: then opacity=1, left=0, height=100, width=100, with speed "slow"&lt;br&gt;&lt;br /&gt;  &lt;strong&gt;Line 6&lt;/strong&gt;: then top=0, with speed "fast"&lt;br&gt;&lt;br /&gt;  &lt;strong&gt;Line 7&lt;/strong&gt;: then slideUp (default speed = "normal")&lt;br&gt;&lt;br /&gt; &lt;strong&gt;Line 8&lt;/strong&gt;: then slideDown, with speed "slow"&lt;br&gt;&lt;br /&gt;&lt;strong&gt;Line 9&lt;/strong&gt;: return false will prevent the browser jump to the link anchor&lt;/p&gt;&lt;br /&gt;&lt;pre&gt;&lt;code class="css"&gt;$(document)&lt;span class="class"&gt;.ready&lt;/span&gt;(function()&lt;span class="rules"&gt;{&lt;br /&gt;&lt;br /&gt; $(".run").click(function(){&lt;br /&gt;&lt;br /&gt;   $("#box").animate({opacity:&lt;span class="value"&gt; "0.1", left: "+=400"&lt;/span&gt;}&lt;/span&gt;, 1200)&lt;br /&gt;   &lt;span class="class"&gt;.animate&lt;/span&gt;(&lt;span class="rules"&gt;{opacity:&lt;span class="value"&gt; "0.4", top: "+=160", height: "20", width: "20"&lt;/span&gt;}&lt;/span&gt;, "slow")&lt;br /&gt;   &lt;span class="class"&gt;.animate&lt;/span&gt;(&lt;span class="rules"&gt;{opacity:&lt;span class="value"&gt; "1", left: "0", height: "100", width: "100"&lt;/span&gt;}&lt;/span&gt;, "slow")&lt;br /&gt;   &lt;span class="class"&gt;.animate&lt;/span&gt;(&lt;span class="rules"&gt;{&lt;span class="keyword"&gt;top&lt;/span&gt;:&lt;span class="value"&gt; "0"&lt;/span&gt;}&lt;/span&gt;, "fast")&lt;br /&gt;   &lt;span class="class"&gt;.slideUp&lt;/span&gt;()&lt;br /&gt;   &lt;span class="class"&gt;.slideDown&lt;/span&gt;("slow")&lt;br /&gt;   return false;&lt;br /&gt;&lt;br /&gt; });&lt;br /&gt;&lt;br /&gt;});&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;h3&gt;&lt;em&gt;4a.&lt;/em&gt; Accordion #1&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;Here is a sample of accordion. &lt;em&gt;(view &lt;a href="http://www.webdesignerwall.com/demo/jquery/accordion1.html"&gt;demo&lt;/a&gt;)&lt;/em&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class="image"&gt;&lt;a href="http://www.webdesignerwall.com/demo/jquery/accordion1.html"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/02/sample3.gif" alt="sample"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;The first line will add a CSS class "active" to the first &amp;lt;H3&amp;gt; element within the &amp;lt;div class="accordion"&amp;gt; (the "active" class will shift the background position of the arrow icon). The second line will hide all the &amp;lt;p&amp;gt; element that is not the first within the &amp;lt;div class="accordion"&amp;gt;.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;When the &amp;lt;h3&amp;gt; element is clicked, it will slideToggle the next &amp;lt;p&amp;gt; and slideUp all its siblings, then toggle the class="active".&lt;/p&gt;&lt;br /&gt;&lt;pre&gt;&lt;code class="javascript"&gt;$(document).ready(&lt;span class="keyword"&gt;function&lt;/span&gt;(){&lt;br /&gt;&lt;br /&gt; $(&lt;span class="string"&gt;".accordion h3:first"&lt;/span&gt;).addClass(&lt;span class="string"&gt;"active"&lt;/span&gt;);&lt;br /&gt; $(&lt;span class="string"&gt;".accordion p:not(:first)"&lt;/span&gt;).hide();&lt;br /&gt;&lt;br /&gt; $(&lt;span class="string"&gt;".accordion h3"&lt;/span&gt;).click(&lt;span class="keyword"&gt;function&lt;/span&gt;(){&lt;br /&gt;&lt;br /&gt;   $(&lt;span class="keyword"&gt;this&lt;/span&gt;).next(&lt;span class="string"&gt;"p"&lt;/span&gt;).slideToggle(&lt;span class="string"&gt;"slow"&lt;/span&gt;)&lt;br /&gt;   .siblings(&lt;span class="string"&gt;"p:visible"&lt;/span&gt;).slideUp(&lt;span class="string"&gt;"slow"&lt;/span&gt;);&lt;br /&gt;   $(&lt;span class="keyword"&gt;this&lt;/span&gt;).toggleClass(&lt;span class="string"&gt;"active"&lt;/span&gt;);&lt;br /&gt;   $(&lt;span class="keyword"&gt;this&lt;/span&gt;).siblings(&lt;span class="string"&gt;"h3"&lt;/span&gt;).removeClass(&lt;span class="string"&gt;"active"&lt;/span&gt;);&lt;br /&gt;&lt;br /&gt; });&lt;br /&gt;&lt;br /&gt;});&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;h3&gt;&lt;em&gt;4b.&lt;/em&gt; Accordion #2&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;This example is very similar to accordion#1, but it will let you specify which panel to open as default. &lt;em&gt;(view &lt;a href="http://www.webdesignerwall.com/demo/jquery/accordion2.html"&gt;demo&lt;/a&gt;)&lt;/em&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;In the CSS stylesheet, set &lt;code&gt;.accordion p&lt;/code&gt; to &lt;code&gt;display:none&lt;/code&gt;. Now suppose you want to open the third panel as default. You can write as &lt;code&gt;$(".accordion2 p").eq(2).show();&lt;/code&gt; (eq = equal). Note that the indexing starts at zero.&lt;/p&gt;&lt;br /&gt;&lt;pre&gt;&lt;code class="javascript"&gt;$(document).ready(&lt;span class="keyword"&gt;function&lt;/span&gt;(){&lt;br /&gt;&lt;br /&gt; $(&lt;span class="string"&gt;".accordion2 h3"&lt;/span&gt;).eq(&lt;span class="number"&gt;2&lt;/span&gt;).addClass(&lt;span class="string"&gt;"active"&lt;/span&gt;);&lt;br /&gt; $(&lt;span class="string"&gt;".accordion2 p"&lt;/span&gt;).eq(&lt;span class="number"&gt;2&lt;/span&gt;).show();&lt;br /&gt;&lt;br /&gt; $(&lt;span class="string"&gt;".accordion2 h3"&lt;/span&gt;).click(&lt;span class="keyword"&gt;function&lt;/span&gt;(){&lt;br /&gt;   $(&lt;span class="keyword"&gt;this&lt;/span&gt;).next(&lt;span class="string"&gt;"p"&lt;/span&gt;).slideToggle(&lt;span class="string"&gt;"slow"&lt;/span&gt;)&lt;br /&gt;   .siblings(&lt;span class="string"&gt;"p:visible"&lt;/span&gt;).slideUp(&lt;span class="string"&gt;"slow"&lt;/span&gt;);&lt;br /&gt;   $(&lt;span class="keyword"&gt;this&lt;/span&gt;).toggleClass(&lt;span class="string"&gt;"active"&lt;/span&gt;);&lt;br /&gt;   $(&lt;span class="keyword"&gt;this&lt;/span&gt;).siblings(&lt;span class="string"&gt;"h3"&lt;/span&gt;).removeClass(&lt;span class="string"&gt;"active"&lt;/span&gt;);&lt;br /&gt; });&lt;br /&gt;&lt;br /&gt;});&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;h3&gt;&lt;em&gt;5a.&lt;/em&gt; Animated hover effect #1&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;This example will create a nice animated hover effect with fade in/out. &lt;em&gt;(view &lt;a href="http://www.webdesignerwall.com/demo/jquery/animated-hover1.html"&gt;demo&lt;/a&gt;)&lt;/em&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class="image"&gt;&lt;a href="http://www.webdesignerwall.com/demo/jquery/animated-hover1.html"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/02/sample4.gif" alt="sample"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;When the menu link is mouseovered, it will find the next &amp;lt;em&amp;gt; and animate its opacity and top position.&lt;/p&gt;&lt;br /&gt;&lt;pre&gt;&lt;code class="javascript"&gt;$(document).ready(&lt;span class="keyword"&gt;function&lt;/span&gt;(){&lt;br /&gt;&lt;br /&gt; $(&lt;span class="string"&gt;".menu a"&lt;/span&gt;).hover(&lt;span class="keyword"&gt;function&lt;/span&gt;() {&lt;br /&gt;   $(&lt;span class="keyword"&gt;this&lt;/span&gt;).next(&lt;span class="string"&gt;"em"&lt;/span&gt;).animate({opacity: &lt;span class="string"&gt;"show"&lt;/span&gt;, top: &lt;span class="string"&gt;"-75"&lt;/span&gt;}, &lt;span class="string"&gt;"slow"&lt;/span&gt;);&lt;br /&gt; }, &lt;span class="keyword"&gt;function&lt;/span&gt;() {&lt;br /&gt;   $(&lt;span class="keyword"&gt;this&lt;/span&gt;).next(&lt;span class="string"&gt;"em"&lt;/span&gt;).animate({opacity: &lt;span class="string"&gt;"hide"&lt;/span&gt;, top: &lt;span class="string"&gt;"-85"&lt;/span&gt;}, &lt;span class="string"&gt;"fast"&lt;/span&gt;);&lt;br /&gt; });&lt;br /&gt;&lt;br /&gt;});&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;h3&gt;&lt;em&gt;5b.&lt;/em&gt; Animated hover effect #2&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;This example will get the menu link&lt;code&gt;title&lt;/code&gt; attribute, store it in a variable, and then append to the &amp;lt;em&amp;gt; tag. &lt;em&gt;(view &lt;a href="http://www.webdesignerwall.com/demo/jquery/animated-hover2.html"&gt;demo&lt;/a&gt;)&lt;/em&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class="image"&gt;&lt;a href="http://www.webdesignerwall.com/demo/jquery/animated-hover2.html"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/02/sample4b.gif" alt="sample"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;The first line will append an empty &lt;code&gt;&amp;lt;em&amp;gt;&lt;/code&gt;  to the menu &lt;code&gt;&amp;lt;a&amp;gt;&lt;/code&gt; element.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;When the link is mouseovered, it will get the&lt;code&gt;title&lt;/code&gt; attribute, store it in a variable "hoverText", and then set the &lt;code&gt;&amp;lt;em&amp;gt;&lt;/code&gt; text content with the hoverText’s value.&lt;/p&gt;&lt;br /&gt;&lt;pre&gt;&lt;code class="javascript"&gt;$(document).ready(&lt;span class="keyword"&gt;function&lt;/span&gt;(){&lt;br /&gt;&lt;br /&gt; $(&lt;span class="string"&gt;".menu2 a"&lt;/span&gt;).append(&lt;span class="string"&gt;"&amp;lt;em&amp;gt;&amp;lt;/em&amp;gt;"&lt;/span&gt;);&lt;br /&gt;&lt;br /&gt; $(&lt;span class="string"&gt;".menu2 a"&lt;/span&gt;).hover(&lt;span class="keyword"&gt;function&lt;/span&gt;() {&lt;br /&gt;   $(&lt;span class="keyword"&gt;this&lt;/span&gt;).find(&lt;span class="string"&gt;"em"&lt;/span&gt;).animate({opacity: &lt;span class="string"&gt;"show"&lt;/span&gt;, top: &lt;span class="string"&gt;"-75"&lt;/span&gt;}, &lt;span class="string"&gt;"slow"&lt;/span&gt;);&lt;br /&gt;   &lt;span class="keyword"&gt;var&lt;/span&gt; hoverText = $(&lt;span class="keyword"&gt;this&lt;/span&gt;).attr(&lt;span class="string"&gt;"title"&lt;/span&gt;);&lt;br /&gt;   $(&lt;span class="keyword"&gt;this&lt;/span&gt;).find(&lt;span class="string"&gt;"em"&lt;/span&gt;).text(hoverText);&lt;br /&gt; }, &lt;span class="keyword"&gt;function&lt;/span&gt;() {&lt;br /&gt;   $(&lt;span class="keyword"&gt;this&lt;/span&gt;).find(&lt;span class="string"&gt;"em"&lt;/span&gt;).animate({opacity: &lt;span class="string"&gt;"hide"&lt;/span&gt;, top: &lt;span class="string"&gt;"-85"&lt;/span&gt;}, &lt;span class="string"&gt;"fast"&lt;/span&gt;);&lt;br /&gt; });&lt;br /&gt;&lt;br /&gt;});&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;h3&gt;&lt;em&gt;6.&lt;/em&gt; Entire block clickable&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;This example will show you how to make the entire block element clickable as seen on my &lt;a href="http://bestwebgallery.com"&gt;Best Web Gallery&lt;/a&gt;’s sidebar tabs. &lt;em&gt;(view &lt;a href="http://www.webdesignerwall.com/demo/jquery/block-clickable.html"&gt;demo&lt;/a&gt;)&lt;/em&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class="image"&gt;&lt;a href="http://www.webdesignerwall.com/demo/jquery/block-clickable.html"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/02/sample5.gif" alt="sample"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Suppose you have a &lt;code&gt;&amp;lt;ul&amp;gt;&lt;/code&gt; list with class="pane-list" and you want to make the nested &lt;code&gt;&amp;lt;li&amp;gt;&lt;/code&gt; clickable (entire block). You can assign the click function to ".pane-list li"; and  when it is clicked, the function will find the &lt;code&gt;&amp;lt;a&amp;gt;&lt;/code&gt; element and redirect the browser location to its &lt;code&gt;href&lt;/code&gt; attribute value.&lt;/p&gt;&lt;br /&gt;&lt;pre&gt;&lt;code class="javascript"&gt;$(document).ready(&lt;span class="keyword"&gt;function&lt;/span&gt;(){&lt;br /&gt;&lt;br /&gt; $(&lt;span class="string"&gt;".pane-list li"&lt;/span&gt;).click(&lt;span class="keyword"&gt;function&lt;/span&gt;(){&lt;br /&gt;   window.location=$(&lt;span class="keyword"&gt;this&lt;/span&gt;).find(&lt;span class="string"&gt;"a"&lt;/span&gt;).attr(&lt;span class="string"&gt;"href"&lt;/span&gt;); &lt;span class="keyword"&gt;return&lt;/span&gt; &lt;span class="literal"&gt;false&lt;/span&gt;;&lt;br /&gt; });&lt;br /&gt;&lt;br /&gt;});&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;h3&gt;&lt;em&gt;7.&lt;/em&gt; Collapsible panels&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;Let’s combine the techniques from the previous examples and create a serie of collapsible panels (similar to the Gmail inbox panels). Notice I also used the same technique on Web Designer Wall comment list and &lt;a href="http://www.next2friends.com"&gt;Next2Friends&lt;/a&gt; message inbox? &lt;em&gt;(view &lt;a href="http://www.webdesignerwall.com/demo/jquery/collapsible-panels.html"&gt;demo&lt;/a&gt;)&lt;/em&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class="image"&gt;&lt;a href="http://www.webdesignerwall.com/demo/jquery/collapsible-panels.html"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/02/sample6.gif" alt="sample"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt; &lt;strong&gt;First line&lt;/strong&gt;: hide all &amp;lt;div class="message_body"&amp;gt; after the first one.&lt;br&gt;&lt;br /&gt;  &lt;strong&gt;Second line&lt;/strong&gt;: hide all &amp;lt;li&amp;gt; element after the 5th&lt;br&gt;&lt;br /&gt; &lt;strong&gt;Third part&lt;/strong&gt;: when the &amp;lt;p class="message_head"&amp;gt; is clicked, slideToggle the next &amp;lt;div class="message_body"&amp;gt;&lt;br&gt;&lt;br /&gt;  &lt;strong&gt;Fourth part&lt;/strong&gt;: when the &amp;lt;a class="collpase_all_message"&amp;gt; button is clicked, slideUp all &amp;lt;div class="message_body"&amp;gt;&lt;br&gt;&lt;br /&gt;&lt;strong&gt;Fifth part&lt;/strong&gt;:  when the &amp;lt;a class="show_all_message"&amp;gt; is clicked, hide this, show &amp;lt;a class="show_recent_only"&amp;gt;, and slideDown all &amp;lt;li&amp;gt; after the fifth one.&lt;br&gt;&lt;br /&gt;&lt;strong&gt;Sixth part&lt;/strong&gt;:  when the &amp;lt;a class="show_recent_only"&amp;gt; is clicked, hide this, show &amp;lt;a class="show_all_message"&amp;gt;, and slideUp all &amp;lt;li&amp;gt; after the 5th.&lt;/p&gt;&lt;br /&gt;&lt;pre&gt;&lt;code class="javascript"&gt;$(document).ready(&lt;span class="keyword"&gt;function&lt;/span&gt;(){&lt;br /&gt;&lt;br /&gt; &lt;span class="comment"&gt;//hide message_body after the first one&lt;/span&gt;&lt;br /&gt; $(&lt;span class="string"&gt;".message_list .message_body:gt(0)"&lt;/span&gt;).hide();&lt;br /&gt;&lt;br /&gt; &lt;span class="comment"&gt;//hide message li after the 5th&lt;/span&gt;&lt;br /&gt; $(&lt;span class="string"&gt;".message_list li:gt(4)"&lt;/span&gt;).hide();&lt;br /&gt;&lt;br /&gt; &lt;span class="comment"&gt;//toggle message_body&lt;/span&gt;&lt;br /&gt; $(&lt;span class="string"&gt;".message_head"&lt;/span&gt;).click(&lt;span class="keyword"&gt;function&lt;/span&gt;(){&lt;br /&gt;   $(&lt;span class="keyword"&gt;this&lt;/span&gt;).next(&lt;span class="string"&gt;".message_body"&lt;/span&gt;).slideToggle(&lt;span class="number"&gt;500&lt;/span&gt;)&lt;br /&gt;   &lt;span class="keyword"&gt;return&lt;/span&gt; &lt;span class="literal"&gt;false&lt;/span&gt;;&lt;br /&gt; });&lt;br /&gt;&lt;br /&gt; &lt;span class="comment"&gt;//collapse all messages&lt;/span&gt;&lt;br /&gt; $(&lt;span class="string"&gt;".collpase_all_message"&lt;/span&gt;).click(&lt;span class="keyword"&gt;function&lt;/span&gt;(){&lt;br /&gt;   $(&lt;span class="string"&gt;".message_body"&lt;/span&gt;).slideUp(&lt;span class="number"&gt;500&lt;/span&gt;)&lt;br /&gt;   &lt;span class="keyword"&gt;return&lt;/span&gt; &lt;span class="literal"&gt;false&lt;/span&gt;;&lt;br /&gt; });&lt;br /&gt;&lt;br /&gt; &lt;span class="comment"&gt;//show all messages&lt;/span&gt;&lt;br /&gt; $(&lt;span class="string"&gt;".show_all_message"&lt;/span&gt;).click(&lt;span class="keyword"&gt;function&lt;/span&gt;(){&lt;br /&gt;   $(&lt;span class="keyword"&gt;this&lt;/span&gt;).hide()&lt;br /&gt;   $(&lt;span class="string"&gt;".show_recent_only"&lt;/span&gt;).show()&lt;br /&gt;   $(&lt;span class="string"&gt;".message_list li:gt(4)"&lt;/span&gt;).slideDown()&lt;br /&gt;   &lt;span class="keyword"&gt;return&lt;/span&gt; &lt;span class="literal"&gt;false&lt;/span&gt;;&lt;br /&gt; });&lt;br /&gt;&lt;br /&gt; &lt;span class="comment"&gt;//show recent messages only&lt;/span&gt;&lt;br /&gt; $(&lt;span class="string"&gt;".show_recent_only"&lt;/span&gt;).click(&lt;span class="keyword"&gt;function&lt;/span&gt;(){&lt;br /&gt;   $(&lt;span class="keyword"&gt;this&lt;/span&gt;).hide()&lt;br /&gt;   $(&lt;span class="string"&gt;".show_all_message"&lt;/span&gt;).show()&lt;br /&gt;   $(&lt;span class="string"&gt;".message_list li:gt(4)"&lt;/span&gt;).slideUp()&lt;br /&gt;   &lt;span class="keyword"&gt;return&lt;/span&gt; &lt;span class="literal"&gt;false&lt;/span&gt;;&lt;br /&gt; });&lt;br /&gt;&lt;br /&gt;});&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;h3&gt;&lt;em&gt;8.&lt;/em&gt; Imitating the WordPress Comment Backend&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;I think most of you have probably seen the WordPress Ajax comment management backend. Well, let’s imitate it with jQuery. In order to animate the background color, you need include the &lt;a href="http://plugins.jquery.com/project/color"&gt;&lt;strong&gt;Color Animations&lt;/strong&gt;&lt;/a&gt; plugin. &lt;em&gt;(view &lt;a href="http://www.webdesignerwall.com/demo/jquery/wordpress-comments.html"&gt;demo&lt;/a&gt;)&lt;/em&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class="image"&gt;&lt;a href="http://www.webdesignerwall.com/demo/jquery/wordpress-comments.html"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/02/sample7.gif" alt="sample"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;strong&gt;First line&lt;/strong&gt;: will add "alt" class to even &amp;lt;div class="pane"&amp;gt; (to assign the grey background on every other &amp;lt;div &amp;gt;)&lt;br&gt;&lt;br /&gt; &lt;strong&gt;Second part&lt;/strong&gt;: when &amp;lt;a class="btn-delete"&amp;gt; is clicked, alert a message, and then animate the backgroundColor and  opacity of &amp;lt;div class="pane"&amp;gt;&lt;br&gt;&lt;br /&gt;   &lt;strong&gt;Third part&lt;/strong&gt;: when &amp;lt;a class="btn-unapprove"&amp;gt; is clicked, first animate the backgroundColor of &amp;lt;div class="pane"&amp;gt; to yellow, then white, and addClass "spam"&lt;br&gt;&lt;br /&gt;  &lt;strong&gt;Fourth part&lt;/strong&gt;: when &amp;lt;a class="btn-approve"&amp;gt; is clicked, first animate the backgroundColor of &amp;lt;div class="pane"&amp;gt; to green, then white, and removeClass "spam"&lt;br&gt;&lt;br /&gt;&lt;strong&gt;Fifth part&lt;/strong&gt;: when &amp;lt;a class="btn-spam"&amp;gt; is clicked, animate the backgroundColor to red and opacity ="hide"&lt;/p&gt;&lt;br /&gt;&lt;pre&gt;&lt;code class="javascript"&gt;&lt;span class="comment"&gt;//don't forget to include the Color Animations plugin&lt;/span&gt;&lt;br /&gt;&lt;span class="comment"&gt;//&amp;lt;script type="text/javascript" src="jquery.color.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;$(document).ready(&lt;span class="keyword"&gt;function&lt;/span&gt;(){&lt;br /&gt;&lt;br /&gt; $(&lt;span class="string"&gt;".pane:even"&lt;/span&gt;).addClass(&lt;span class="string"&gt;"alt"&lt;/span&gt;);&lt;br /&gt;&lt;br /&gt; $(&lt;span class="string"&gt;".pane .btn-delete"&lt;/span&gt;).click(&lt;span class="keyword"&gt;function&lt;/span&gt;(){&lt;br /&gt;   alert(&lt;span class="string"&gt;"This comment will be deleted!"&lt;/span&gt;);&lt;br /&gt;&lt;br /&gt;   $(&lt;span class="keyword"&gt;this&lt;/span&gt;).parents(&lt;span class="string"&gt;".pane"&lt;/span&gt;).animate({ backgroundColor: &lt;span class="string"&gt;"#fbc7c7"&lt;/span&gt; }, &lt;span class="string"&gt;"fast"&lt;/span&gt;)&lt;br /&gt;   .animate({ opacity: &lt;span class="string"&gt;"hide"&lt;/span&gt; }, &lt;span class="string"&gt;"slow"&lt;/span&gt;)&lt;br /&gt;   &lt;span class="keyword"&gt;return&lt;/span&gt; &lt;span class="literal"&gt;false&lt;/span&gt;;&lt;br /&gt; });&lt;br /&gt;&lt;br /&gt; $(&lt;span class="string"&gt;".pane .btn-unapprove"&lt;/span&gt;).click(&lt;span class="keyword"&gt;function&lt;/span&gt;(){&lt;br /&gt;   $(&lt;span class="keyword"&gt;this&lt;/span&gt;).parents(&lt;span class="string"&gt;".pane"&lt;/span&gt;).animate({ backgroundColor: &lt;span class="string"&gt;"#fff568"&lt;/span&gt; }, &lt;span class="string"&gt;"fast"&lt;/span&gt;)&lt;br /&gt;   .animate({ backgroundColor: &lt;span class="string"&gt;"#ffffff"&lt;/span&gt; }, &lt;span class="string"&gt;"slow"&lt;/span&gt;)&lt;br /&gt;   .addClass(&lt;span class="string"&gt;"spam"&lt;/span&gt;)&lt;br /&gt;   &lt;span class="keyword"&gt;return&lt;/span&gt; &lt;span class="literal"&gt;false&lt;/span&gt;;&lt;br /&gt; });&lt;br /&gt;&lt;br /&gt; $(&lt;span class="string"&gt;".pane .btn-approve"&lt;/span&gt;).click(&lt;span class="keyword"&gt;function&lt;/span&gt;(){&lt;br /&gt;   $(&lt;span class="keyword"&gt;this&lt;/span&gt;).parents(&lt;span class="string"&gt;".pane"&lt;/span&gt;).animate({ backgroundColor: &lt;span class="string"&gt;"#dafda5"&lt;/span&gt; }, &lt;span class="string"&gt;"fast"&lt;/span&gt;)&lt;br /&gt;   .animate({ backgroundColor: &lt;span class="string"&gt;"#ffffff"&lt;/span&gt; }, &lt;span class="string"&gt;"slow"&lt;/span&gt;)&lt;br /&gt;   .removeClass(&lt;span class="string"&gt;"spam"&lt;/span&gt;)&lt;br /&gt;   &lt;span class="keyword"&gt;return&lt;/span&gt; &lt;span class="literal"&gt;false&lt;/span&gt;;&lt;br /&gt; });&lt;br /&gt;&lt;br /&gt; $(&lt;span class="string"&gt;".pane .btn-spam"&lt;/span&gt;).click(&lt;span class="keyword"&gt;function&lt;/span&gt;(){&lt;br /&gt;   $(&lt;span class="keyword"&gt;this&lt;/span&gt;).parents(&lt;span class="string"&gt;".pane"&lt;/span&gt;).animate({ backgroundColor: &lt;span class="string"&gt;"#fbc7c7"&lt;/span&gt; }, &lt;span class="string"&gt;"fast"&lt;/span&gt;)&lt;br /&gt;   .animate({ opacity: &lt;span class="string"&gt;"hide"&lt;/span&gt; }, &lt;span class="string"&gt;"slow"&lt;/span&gt;)&lt;br /&gt;   &lt;span class="keyword"&gt;return&lt;/span&gt; &lt;span class="literal"&gt;false&lt;/span&gt;;&lt;br /&gt; });&lt;br /&gt;&lt;br /&gt;});&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;h3&gt;&lt;em&gt;9.&lt;/em&gt; Image replacement gallery&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;Suppose you have a portfolio where you want to showcase multi images without jumping to another page, you can load the JPG into the target element. &lt;em&gt;(view &lt;a href="http://www.webdesignerwall.com/demo/jquery/img-replacement.html"&gt;demo&lt;/a&gt;)&lt;/em&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class="image"&gt;&lt;a href="http://www.webdesignerwall.com/demo/jquery/img-replacement.html"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/02/sample8.jpg" alt="sample"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;First append an empty &amp;lt;em&amp;gt; to H2. &lt;/p&gt;&lt;br /&gt;&lt;p&gt;When a link within the &amp;lt;p class=thumbs&amp;gt; is clicked:&lt;br&gt;&lt;br /&gt;- store its &lt;code&gt;href&lt;/code&gt; attribute into a variable "largePath"&lt;br&gt;&lt;br /&gt;- store its &lt;code&gt;title&lt;/code&gt; attribute into a variable "largeAlt"&lt;br&gt;&lt;br /&gt;- replace the &amp;lt;img id="largeImg"&amp;gt; &lt;code&gt;scr&lt;/code&gt; attribute with the variable "largePath" and replace the &lt;code&gt;alt&lt;/code&gt; attribute  with the variable "largeAlt"&lt;br&gt;&lt;br /&gt;- Set the &lt;code&gt;em&lt;/code&gt; content (within the &lt;code&gt;h2&lt;/code&gt;) with the variable largeAlt (plus the brackets)&lt;/p&gt;&lt;br /&gt;&lt;pre&gt;&lt;code class="javascript"&gt;$(document).ready(&lt;span class="keyword"&gt;function&lt;/span&gt;(){&lt;br /&gt;&lt;br /&gt; $(&lt;span class="string"&gt;"h2"&lt;/span&gt;).append(&lt;span class="string"&gt;'&amp;lt;em&amp;gt;&amp;lt;/em&amp;gt;'&lt;/span&gt;)&lt;br /&gt;&lt;br /&gt; $(&lt;span class="string"&gt;".thumbs a"&lt;/span&gt;).click(&lt;span class="keyword"&gt;function&lt;/span&gt;(){&lt;br /&gt;&lt;br /&gt;   &lt;span class="keyword"&gt;var&lt;/span&gt; largePath = $(&lt;span class="keyword"&gt;this&lt;/span&gt;).attr(&lt;span class="string"&gt;"href"&lt;/span&gt;);&lt;br /&gt;   &lt;span class="keyword"&gt;var&lt;/span&gt; largeAlt = $(&lt;span class="keyword"&gt;this&lt;/span&gt;).attr(&lt;span class="string"&gt;"title"&lt;/span&gt;);&lt;br /&gt;&lt;br /&gt;   $(&lt;span class="string"&gt;"#largeImg"&lt;/span&gt;).attr({ src: largePath, alt: largeAlt });&lt;br /&gt;&lt;br /&gt;   $(&lt;span class="string"&gt;"h2 em"&lt;/span&gt;).html(&lt;span class="string"&gt;" ("&lt;/span&gt; + largeAlt + &lt;span class="string"&gt;")"&lt;/span&gt;); &lt;span class="keyword"&gt;return&lt;/span&gt; &lt;span class="literal"&gt;false&lt;/span&gt;;&lt;br /&gt; });&lt;br /&gt;&lt;br /&gt;});&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;h3&gt;&lt;em&gt;10.&lt;/em&gt; Styling different link types&lt;/h3&gt;&lt;br /&gt;&lt;p&gt;With most  modern browsers, styling the link selector is very easy. For example, to style the link to .pdf file, you can simply use the following CSS rule: &lt;code&gt;a[href $='.pdf'] { ... }&lt;/code&gt;. Unfortunately, IE 6 doesn’t support this (this is another reason why &lt;a href="http://www.webdesignerwall.com/general/trash-all-ie-hacks/"&gt;we hate IE&lt;/a&gt;!). To get around this, you can do it with jQuery. &lt;em&gt;(view &lt;a href="http://www.webdesignerwall.com/demo/jquery/link-types.html"&gt;demo&lt;/a&gt;)&lt;/em&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class="image"&gt;&lt;a href="http://www.webdesignerwall.com/demo/jquery/link-types.html"&gt;&lt;img src="http://www.webdesignerwall.com/wp-content/uploads/2008/02/sample9.gif" alt="sample"&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;The first three lines should be very straight foward. They just a CSS class to the &lt;code&gt;&amp;lt;a&amp;gt;&lt;/code&gt; element according to their &lt;code&gt;href&lt;/code&gt; attribute.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;The second part will get all &lt;code&gt;&amp;lt;a&amp;gt;&lt;/code&gt; element that does not have "http://www.webdesignerwall.com" and/or does not start with "#" in the &lt;code&gt;href&lt;/code&gt; attribute, then addClass "external" and set target= "_blank".&lt;/p&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;$(document).ready(function(){&lt;br /&gt;&lt;br /&gt; $("a[@href$=pdf]").addClass("pdf");&lt;br /&gt;&lt;br /&gt; $("a[@href$=zip]").addClass("zip");&lt;br /&gt;&lt;br /&gt; $("a[@href$=psd]").addClass("psd");&lt;br /&gt;&lt;br /&gt; $("a:not([@href*=http://www.webdesignerwall.com])").not("[href^=#]")&lt;br /&gt;   .addClass("external")&lt;br /&gt;   .attr({ target: "_blank" });&lt;br /&gt;&lt;br /&gt;});&lt;/code&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/578815938541519252-9114791339450210407?l=jquery-tricks.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jquery-tricks.blogspot.com/feeds/9114791339450210407/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jquery-tricks.blogspot.com/2009/08/best-jquery-tutorials-for-designers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/578815938541519252/posts/default/9114791339450210407'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/578815938541519252/posts/default/9114791339450210407'/><link rel='alternate' type='text/html' href='http://jquery-tricks.blogspot.com/2009/08/best-jquery-tutorials-for-designers.html' title='best jQuery Tutorials for Designers'/><author><name>SoMeOnE</name><uri>http://www.blogger.com/profile/12328046872530550213</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
