<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>HTML5 Samples, Tutorials and News</title>
	<atom:link href="http://www.html5samples.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.html5samples.com</link>
	<description>HTML5 for dummies</description>
	<lastBuildDate>Wed, 01 Feb 2012 16:13:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>The Wp Stew Guide To Html, Css &amp; WordPress</title>
		<link>http://www.html5samples.com/2012/02/the-wp-stew-guide-to-html-css-wordpress/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=the-wp-stew-guide-to-html-css-wordpress</link>
		<comments>http://www.html5samples.com/2012/02/the-wp-stew-guide-to-html-css-wordpress/#comments</comments>
		<pubDate>Wed, 01 Feb 2012 16:13:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML 5 And CSS]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[Stew]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.html5samples.com/2012/02/the-wp-stew-guide-to-html-css-wordpress/</guid>
		<description><![CDATA[The Wp Stew Guide To Html, Css &#038; WordPress Fantastic Guide To Html, Css And How To Use Both In WordPress. 800 Page Pdf. Hands-on, Step-by-step Lessons. Written In A Casual Style To Keep Readers Interested. No Other Book Covers These Topics. See: Http://wpstew.com/affiliates/. 67% Comm. The Wp Stew Guide To Html, Css &#038; WordPress [...]]]></description>
			<content:encoded><![CDATA[<p><strong>The Wp Stew Guide To Html, Css &#038; WordPress</strong><br />
Fantastic Guide To Html, Css And How To Use Both In WordPress. 800 Page Pdf. Hands-on, Step-by-step Lessons. Written In A Casual Style To Keep Readers Interested. No Other Book Covers These Topics. See: Http://wpstew.com/affiliates/. 67% Comm.<br />
<a rel="nofollow" href="http://sagitosltd.HIGHFXCJ.hop.clickbank.net">The Wp Stew Guide To Html, Css &#038; WordPress</a></p>
<p><strong>(view mobile)</strong><br />
One Of A Kind Product. Premium Quality Landing Page Templates On Different Kinds Of Niches. Review Site Landing Pages For Affiliates, Squeeze Page For Internet Marketers And More! Promote Us And Get 50% Commission!<br />
<a rel="nofollow" href="http://sagitosltd.HIGHFXCJ.hop.clickbank.net?mobile=true">(view mobile)</a></p>
<p><strong>Landing Page Templates</strong><br />
43 Landing &#038; Sales Page Templates With Two Whole Years Of Setup Support!!! You Don&#8217;t Only Buy A Lot Of Landing Page Templates, But Also Two Years Coding Expertise. Promote Us And Get 40% Commission.<br />
<a rel="nofollow" href="http://sagitosltd.MADLABS.hop.clickbank.net">Landing Page Templates</a></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.html5samples.com%2F2012%2F02%2Fthe-wp-stew-guide-to-html-css-wordpress%2F&amp;title=The%20Wp%20Stew%20Guide%20To%20Html%2C%20Css%20%26%23038%3B%20WordPress" id="wpa2a_2"><img src="http://www.html5samples.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.html5samples.com/2012/02/the-wp-stew-guide-to-html-css-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to make a complex website w/ HTML 5 and CSS 3 Pt3</title>
		<link>http://www.html5samples.com/2012/02/how-to-make-a-complex-website-w-html-5-and-css-3-pt3/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-make-a-complex-website-w-html-5-and-css-3-pt3</link>
		<comments>http://www.html5samples.com/2012/02/how-to-make-a-complex-website-w-html-5-and-css-3-pt3/#comments</comments>
		<pubDate>Wed, 01 Feb 2012 16:13:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML 5 and CSS 3]]></category>
		<category><![CDATA[complex]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[Website]]></category>

		<guid isPermaLink="false">http://www.html5samples.com/2012/02/how-to-make-a-complex-website-w-html-5-and-css-3-pt3/</guid>
		<description><![CDATA[Read Me!!! here is part three Coda: panic.com Dreamweaver: rurls.ws rurls.ws rurls.ws rurls.ws rurls.ws]]></description>
			<content:encoded><![CDATA[<p>				<object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/ngGk-XFXnWc?fs=1"></param><param name="allowFullScreen" value="true"></param>
				<embed src="http://www.youtube.com/v/ngGk-XFXnWc?fs=1&#038;rel=0" type="application/x-shockwave-flash" width="425" height="355" allowfullscreen="true"></embed></object></p>
<p>Read Me!!! here is part three Coda: panic.com Dreamweaver: rurls.ws rurls.ws rurls.ws rurls.ws rurls.ws</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.html5samples.com%2F2012%2F02%2Fhow-to-make-a-complex-website-w-html-5-and-css-3-pt3%2F&amp;title=How%20to%20make%20a%20complex%20website%20w%2F%20HTML%205%20and%20CSS%203%20Pt3" id="wpa2a_4"><img src="http://www.html5samples.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.html5samples.com/2012/02/how-to-make-a-complex-website-w-html-5-and-css-3-pt3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Twtter new revolution</title>
		<link>http://www.html5samples.com/2012/01/twtter-new-revolution/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=twtter-new-revolution</link>
		<comments>http://www.html5samples.com/2012/01/twtter-new-revolution/#comments</comments>
		<pubDate>Sun, 08 Jan 2012 02:53:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[New features in HTML 5]]></category>

		<guid isPermaLink="false">http://www.html5samples.com/?p=1358</guid>
		<description><![CDATA[Twtter is the biggest all in one Twitter application directory. People here can subscribe to whole lots of apps and get benefits- of all the applications free of cost. Twitter is not just a place where you Tweet, it is more than that where people can share and help each other out. So, twtter has [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.twtter.us">Twtter</a> is the biggest all in one Twitter application directory. People here can subscribe to whole lots of apps and get benefits- of all the applications free of cost. Twitter is not just a place where you Tweet, it is more than that where people can share and help each other out. So, twtter has been making application that makes user ease their twitter.</p>
<p>You can <a href="http://www.twtter.us">tweet via</a> anything you like that are listed on the directory. Posting and Updating new status using cool applications like iPhone, iPad, Android, Twitter, Google and more. You do not need to have the device or applications on your own, you just need to allow your Twitter to access and you will be ready to go. Just type any status you want to post via and press the Tweet button, and you see the tweet updated on Twitter time line.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.html5samples.com%2F2012%2F01%2Ftwtter-new-revolution%2F&amp;title=Twtter%20new%20revolution" id="wpa2a_6"><img src="http://www.html5samples.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.html5samples.com/2012/01/twtter-new-revolution/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML 5 Cheat Sheet</title>
		<link>http://www.html5samples.com/2011/12/html-5-cheat-sheet/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=html-5-cheat-sheet</link>
		<comments>http://www.html5samples.com/2011/12/html-5-cheat-sheet/#comments</comments>
		<pubDate>Wed, 28 Dec 2011 14:20:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Miscellaneous things on HTML 5]]></category>
		<category><![CDATA[cheat sheet]]></category>
		<category><![CDATA[html 5]]></category>
		<category><![CDATA[HTML 5 Cheat Sheet]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[HTML5 Cheat Sheet]]></category>

		<guid isPermaLink="false">http://www.html5samples.com/?p=1359</guid>
		<description><![CDATA[This is the best cheat sheet for HTML 5. The cheat sheets are broken up into three graphics: Tags Event Handler Content Attributes Browser Support Each differentiates between the new, existing, and unsupported features of HTML5. The clean visual grid is easy to run through, lending itself to be a very practical tool for a [...]]]></description>
			<content:encoded><![CDATA[<p>This is the best cheat sheet for HTML 5.</p>
<p>The cheat sheets are broken up into three graphics:</p>
<ul>
<li>Tags</li>
<li>Event Handler Content Attributes</li>
<li>Browser Support</li>
</ul>
<p>Each differentiates between the new, existing, and unsupported features of HTML5. The clean visual grid is easy to run through, lending itself to be a very practical tool for a busy designer/developer. The most useful aspect of it all – it is print-ready for you to pin up on your wall for quick and easy referencing.</p>
<p><a href="http://www.html5samples.com/wp-content/uploads/2011/12/html5_cheat_sheet_tags.png"><img class="aligncenter size-medium wp-image-1360" title="html5_cheat_sheet_tags" src="http://www.html5samples.com/wp-content/uploads/2011/12/html5_cheat_sheet_tags-300x205.png" alt="" width="300" height="205" /></a></p>
<h4>Incoming search terms:</h4><ul><li>html5 cheatsheet</li><li>html cheat sheet</li><li>html5 cheat sheet</li><li>css3 help</li><li>html help sheet</li><li>html code</li><li>HTML 5 Cheat Sheet</li><li>html code cheat sheet</li><li>css help sheet</li><li>cheat_sheet html5</li></ul><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.html5samples.com%2F2011%2F12%2Fhtml-5-cheat-sheet%2F&amp;title=HTML%205%20Cheat%20Sheet" id="wpa2a_8"><img src="http://www.html5samples.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.html5samples.com/2011/12/html-5-cheat-sheet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Boost Your Mobile Traffic with 10 Ready-to-use Open Source HTML5 Video Players</title>
		<link>http://www.html5samples.com/2011/12/boost-your-mobile-traffic-with-10-ready-to-use-open-source-html5-video-players/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=boost-your-mobile-traffic-with-10-ready-to-use-open-source-html5-video-players</link>
		<comments>http://www.html5samples.com/2011/12/boost-your-mobile-traffic-with-10-ready-to-use-open-source-html5-video-players/#comments</comments>
		<pubDate>Wed, 28 Dec 2011 09:58:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Audio Video and Other Media]]></category>
		<category><![CDATA[html 5 video]]></category>
		<category><![CDATA[html 5 video player]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[html5 video]]></category>
		<category><![CDATA[html5 video player]]></category>
		<category><![CDATA[HTML5 Video Players]]></category>

		<guid isPermaLink="false">http://www.html5samples.com/?p=1356</guid>
		<description><![CDATA[With the developing of HTML5, there will be a dramatic change for online media content delivery. This industry has been dominated by the proprietary Adobe Flash Player for many years. But now, HTML5 is here and the &#60;video&#62; element is a long-awaited and probably one of the most talked about feature. We can easily embed [...]]]></description>
			<content:encoded><![CDATA[<p>With the developing of HTML5, there will be a dramatic change for online media content delivery. This industry has been dominated by the proprietary Adobe Flash Player for many years. But now, HTML5 is here and the &lt;video&gt; element is a long-awaited and probably one of the most talked about feature. We can easily embed videos into web pages using the &lt;video&gt; element without any plug-ins.</p>
<p>In this post, I am sharing 10 ready-to-use HTML5 video players to help web designer and developers to boost their Mobile traffic. All these are open source players available for free download<strong>.</strong></p>
<p><strong>1. </strong><a href="http://www.mediafront.org/project/osmplayer"><strong>OSM Player</strong></a></p>
<p><a href="http://www.flash-to-html5.net/blog/wp-content/uploads/2011/12/112.jpg"><img src="http://www.flash-to-html5.net/blog/wp-content/uploads/2011/12/112.jpg" alt="OSM Player" width="552" height="403" /></a></p>
<p>Built by Alethia Inc., the Open Standard Media (OSM) Player<strong> </strong>is a free all-in-one media player for the web. It is an open source (GPLv3) media player that is written in the popular jQuery framework<strong> </strong>to dynamically deliver any type of web media, including HTML5, YouTube, Vimeo, and Flash. It supports audio and video with the most popular media formats. OSM Player could easily use the incredible ThemeRoller system. It also supports playlist and player to player communication.</p>
<p><strong>Performance comparison</strong>: supports automatic Flash fallback for non-standard media and videos can be displayed in full-screen.</p>
<p align="left"><strong>Recommendation Index: </strong>★★☆☆☆<strong></strong></p>
<p align="left"><strong>2.   </strong><a href="http://www.kaltura.org/project/HTML5_Video_Media_JavaScript_Library"><strong>KalturaHTML5</strong></a></p>
<p align="left"><a href="http://www.flash-to-html5.net/blog/wp-content/uploads/2011/12/28.jpg"><img src="http://www.flash-to-html5.net/blog/wp-content/uploads/2011/12/28.jpg" alt="2.	KalturaHTML5" width="552" height="403" /></a></p>
<p>Kaltura’s HTML5 Media Library enables you to take advantage of the html5 video and audio tags. It has a consistent player interface across all major browsers including Internet Explorer. Upon detection of the client browser, the Kaltura HTML5 Media Library chooses the right codec to use and the right player to display. Based on HTML, CSS and jQuery, its skinning is amazingly easy and flexible. It integrates to any existing web CMS and is pre-integrated into Media Wiki. Kaltura’s HTML5 Media Library is built on jQuery, so it’s easy to theme, customize and extend.</p>
<p><strong>Performance</strong><strong> comparison</strong>: supports a seamless fallback with Flash based playback, supports emerging subtitles and timed text formats, supports free screen and IOS.</p>
<p><strong>Recommendation Index: </strong>★★★★☆<strong></strong></p>
<p><strong>3.   </strong><a href="http://www.projekktor.com/index.php"><strong>Projekktor</strong></a></p>
<p><a href="http://www.flash-to-html5.net/blog/wp-content/uploads/2011/12/35.jpg"><img src="http://www.flash-to-html5.net/blog/wp-content/uploads/2011/12/35.jpg" alt="3.	Projekktor" width="552" height="403" /></a></p>
<p>Projekktor is a free, Open Source (GPL) HTML5 based video player written in pure JavaScript. It solves cross browser and compatibility issues, adds eye candy and provides extremely powerful non standard features. Its control panel can be customized and themed by editing a single CSS file. Projekktor supports PRE roll and POST roll content for ads and its server is independent seeking for Theora. It is also built on jQuery and supports playlists.</p>
<p><strong>Performance comparison:</strong> can display videos in full-screen, supports IOS platform and flash fallback.</p>
<p><strong>Recommendation Index: </strong>★★★☆☆<strong></strong></p>
<p><strong>4.   </strong><a href="http://videojs.com/"><strong>Video JS</strong></a><a href="http://www.flash-to-html5.net/blog/wp-content/uploads/2011/12/44.jpg"><img src="http://www.flash-to-html5.net/blog/wp-content/uploads/2011/12/44.jpg" alt="" width="552" height="403" /></a></p>
<p>VideoJS is a free, open source and lightweight HTML5 Video Player with three core parts, including an embed code (Video for Everybody), a JavaScript library (video.js), and a pure HTML/CSS skin (video-js.css). The JavaScript library fixes browser &amp; device bugs, and makes sure your video is even more compatible across different browser versions. It also ensures a consistent look between HTML5 browsers and easy custom skinning if you want to give it a specific look, or brand it with your own colors. VideoJS is an easy to use HTML5 video player with volume control and stand alone JavaScript library</p>
<p><strong>Performance</strong><strong> comparison</strong><strong>:</strong> has forced fallback to flash, supports emerging subtitles, plays with free screen player UI and compatible with IOS platform.</p>
<p><strong>Recommendation Index: </strong>★★★★☆<strong></strong></p>
<p><strong>5.   </strong><a href="http://www.openbeelden.nl/oiplayer/"><strong>OIPlayer</strong></a></p>
<p><a href="http://www.flash-to-html5.net/blog/wp-content/uploads/2011/12/53.jpg"><img src="http://www.flash-to-html5.net/blog/wp-content/uploads/2011/12/53.jpg" alt="5.     OIPlayer" width="552" height="403" /></a></p>
<p>OIPlayer is a HTML5 audio and video player with fallback to Flowplayer (mp4, h.264) or Cortado. OIPlayer attaches itself to all video and audio tags it encounters. Besides the general configuration of the jQuery plug-in itself, it uses the respective tag like poster, width, controls, auto play etc. it has multiple different players on a page and supports mute and unmute. OIPlayer can easily play with CSS and has fires events of ‘oiplayerplay’ and ‘oiplayerended’ to use for play statistics.</p>
<p><strong>Performance comparison:</strong> compatible with iOS, iPhone, iPad etc, supports video display in full screen.</p>
<p><strong>Recommendation Index: </strong>★★☆☆☆ <strong></strong></p>
<p><strong>6.    </strong><a href="https://github.com/aFarkas/jMediaelement/wiki/"><strong>JMediaelement</strong></a></p>
<p><a href="http://www.flash-to-html5.net/blog/wp-content/uploads/2011/12/63.jpg"><img src="http://www.flash-to-html5.net/blog/wp-content/uploads/2011/12/63.jpg" alt="6. JMediaelement" width="552" height="403" /></a><strong></strong></p>
<p align="left">The jMediaelement is a multimedia framework for JavaScript based on jQuery. With it, you can embed multimedia-content in a clean and lean way (HTML5 audio/video specification is the base here), and you are able to script multimedia in an unobtrusive, intuitive, “jQuerish” way. You can use semantic and accessible markup to add custom control elements. Since jMediaelement Supports HTML 5 Video and Audio elements and degrades gracefully to Flash (JW Player) or VLC, it can support nearly every browser on every device.</p>
<p align="left"><strong>Performance comparison:</strong> supports player UI features of full screen, keyboard interface and subtitle adding, supports embed type of Flash fallback.</p>
<p align="left"><strong>Recommendation Index: </strong>★★★★☆<strong></strong></p>
<p align="left"><strong>7.    </strong><a href="http://html5video.org/wiki/Mooplay"><strong>Mooplay</strong></a></p>
<p align="left"><a href="http://www.flash-to-html5.net/blog/wp-content/uploads/2011/12/73.jpg"><img src="http://www.flash-to-html5.net/blog/wp-content/uploads/2011/12/73.jpg" alt="7. Mooplay" width="552" height="403" /></a></p>
<p align="left">MooPlay brings JavaScript controls over an html5 video element. You can build and customize your own player with a play and a pause control. MooPlay has buttons to move inside the video, an interactive play progress slider, a load progress bar and a volume slider and a mute button. It supports the JavaScript library of Mootools. The supported formats are SubRip (.srt) and SubViewer (.sub). It shows the current and remaining time of the playing video. What’s more, the video element methods can be called by other scripts, and MooPlay objects will adapt themselves to any state changes.</p>
<p align="left"><strong>Performance comparison: </strong>loads subtitles through an Ajax request that synchronized with the video, supports fallback video display.</p>
<p align="left"><strong>Recommendation Index: </strong>★★☆☆☆</p>
<p align="left"><a href="http://www.flash-to-html5.net/blog/wp-content/uploads/2011/12/81.jpg"><img src="http://www.flash-to-html5.net/blog/wp-content/uploads/2011/12/81.jpg" alt="8. Mediaelement.js" width="552" height="403" /></a></p>
<p>MediaElement.js is an HTML5 video and audio player. It supports iPad, iPod, iPhone, IE6, IE7, IE8, Firefox, Opera, Safari, Google Chrome and Android. It is a complete audio and video player upgraded with custom Flash and Silverlight plug-ins that mimic the HTML5 MediaElement API. MediaElement.js is a jQuery plug-in which enables you to use the <code>&lt;video&gt;</code> tag with one H.264 file. If the player doesn’t support it, the plug-in replaces the player with a Flash or Silverlight-powered one.</p>
<p><strong>Performance</strong><strong> comparison</strong><strong>: </strong>supports flash fallback, supports subtitles, timed text and IOS, video can be displayed with full screen.</p>
<p><strong>Recommendation Index: </strong>★★★★☆<strong></strong></p>
<p><strong>9.    </strong><a href="http://html5media.info/"><strong>Html5media</strong></a></p>
<p><a href="http://www.flash-to-html5.net/blog/wp-content/uploads/2011/12/91.jpg"><img src="http://www.flash-to-html5.net/blog/wp-content/uploads/2011/12/91.jpg" alt="9. Html5media" width="552" height="403" /></a></p>
<p>Html5media enables &lt;video&gt; and &lt;audio&gt; tags in all major browsers. The html5media project makes embedding video or audio as easy as it was meant to be. It’s a fire-and-forget solution, and doesn’t require installing any files on your server. Unlike many other HTML5 video players, it allows people to use the video controls supplied by their own web browser. It’s one of the smallest, fastest solutions available, and as browser technology improves it will become even faster. The html5media project is open source and can be found on GitHub.</p>
<p><strong>Performance</strong><strong> comparison</strong><strong>: </strong>supports Flash fallback and full screen.</p>
<p><strong>Recommendation Index: </strong>★★☆☆☆</p>
<p>10.  <a title="http://jplayer.org/" href="http://jplayer.org/" target="_blank"><strong>JPlayer</strong></a></p>
<div>
<dl>
<dt><a href="http://www.flash-to-html5.net/blog/wp-content/uploads/2011/12/101.jpg"><img src="http://www.flash-to-html5.net/blog/wp-content/uploads/2011/12/101.jpg" alt="" width="560" height="403" /></a></dt>
</dl>
</div>
<p align="left">jPlayer is completely free and open source media library written in JavaScript. With a jQuery plug-in, jPlayer allows you to rapidly weave cross platform audio and video into your web pages. jPlayer’s comprehensive API allows you to create innovative media solutions while support and encouragement is provided by jPlayer’s active and growing community. jPlayer allows you to play and control media files in your webpage. You can create and style a media player using just HTML and CSS, and add audio and video to your jQuery projects.</p>
<p align="left"><strong>Performance comparison:</strong><strong> </strong>supports older browsers using a flash fallback, supports platform of iOS and video’s full screen displaying.</p>
<h4>Incoming search terms:</h4><ul><li>HTML 5 video</li><li>vlc html 5 tag video</li></ul><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.html5samples.com%2F2011%2F12%2Fboost-your-mobile-traffic-with-10-ready-to-use-open-source-html5-video-players%2F&amp;title=Boost%20Your%20Mobile%20Traffic%20with%2010%20Ready-to-use%20Open%20Source%20HTML5%20Video%20Players" id="wpa2a_10"><img src="http://www.html5samples.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.html5samples.com/2011/12/boost-your-mobile-traffic-with-10-ready-to-use-open-source-html5-video-players/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upload Files Using HTML5 and Ajax Joined Forces</title>
		<link>http://www.html5samples.com/2011/12/upload-files-using-html5-and-ajax-joined-forces/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=upload-files-using-html5-and-ajax-joined-forces</link>
		<comments>http://www.html5samples.com/2011/12/upload-files-using-html5-and-ajax-joined-forces/#comments</comments>
		<pubDate>Tue, 20 Dec 2011 13:05:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Miscellaneous things on HTML 5]]></category>
		<category><![CDATA[Upload Files HTML5]]></category>
		<category><![CDATA[Upload Files HTML5 AJAX]]></category>
		<category><![CDATA[Upload Files Using HTML5]]></category>
		<category><![CDATA[Upload Files Using HTML5 and Ajax Joined Forces]]></category>

		<guid isPermaLink="false">http://www.html5samples.com/?p=1354</guid>
		<description><![CDATA[In this article, we are going to introduce how to use Ajax and HTML5 to upload files to the server. The HTML Set the code of the upload form page as follows: &#60;form id=”upload” action=”upload.php” method=”POST” enctype=”multipart/form-data”&#62; &#60;fieldset&#62; &#60;legend&#62;HTML File Upload&#60;/legend&#62; &#60;input type=”hidden” id=”MAX_FILE_SIZE” name=”MAX_FILE_SIZE” value=”300000″ /&#62; &#60;div&#62; &#60;label for=”fileselect”&#62;Files to upload:&#60;/label&#62; &#60;input type=”file” id=”fileselect” [...]]]></description>
			<content:encoded><![CDATA[<p>In this article, we are going to introduce how to use Ajax and HTML5 to upload files to the server.</p>
<p><strong>The HTML</strong></p>
<p align="left">Set the code of the upload form page as follows:</p>
<p align="left">&lt;form id=”upload” action=”upload.php” method=”POST” enctype=”multipart/form-data”&gt;<br />
&lt;fieldset&gt;<br />
&lt;legend&gt;HTML File Upload&lt;/legend&gt;<br />
&lt;input type=”hidden” id=”MAX_FILE_SIZE” name=”MAX_FILE_SIZE” value=”300000″ /&gt;<br />
&lt;div&gt;<br />
&lt;label for=”fileselect”&gt;Files to upload:&lt;/label&gt;<br />
&lt;input type=”file” id=”fileselect” name=”fileselect[]” multiple=”multiple” /&gt;<br />
&lt;div id=”filedrag”&gt;or drop files here&lt;/div&gt;<br />
&lt;/div&gt;<br />
&lt;div id=”submitbutton”&gt;<br />
&lt;button type=”submit”&gt;Upload Files&lt;/button&gt;<br />
&lt;/div&gt;<br />
&lt;/fieldset&gt;<br />
&lt;/form&gt;</p>
<p align="left">Here, we set the submit form as upload.php to handle with the upload files. And the size of the uploaded files must be under 300K.</p>
<p align="left"><strong>The JavaScript</strong></p>
<p align="left">The codes of uploading files in JavaScript are as follows</p>
<p align="left">// file selection<br />
function FileSelectHandler(e) {<br />
// cancel event and hover styling<br />
FileDragHover(e);<br />
// fetch FileList object<br />
var files = e.target.files || e.dataTransfer.files;<br />
// process all File objects<br />
for (var i = 0, f; f = files[i]; i++) {<br />
ParseFile(f);<br />
UploadFile(f);<br />
}<br />
}</p>
<p align="left">Let’s examine the codes of Uploading File again:</p>
<p align="left">function UploadFile(file) {</p>
<p align="left">var xhr = new XMLHttpRequest();</p>
<p align="left">if (xhr.upload &amp;&amp; file.type == “image/jpeg” &amp;&amp; file.size &lt;= $id(“MAX_FILE_SIZE”).value) {</p>
<p align="left">// start upload</p>
<p align="left">xhr.open(“POST”, $id(“upload”).action, true);</p>
<p align="left">xhr.setRequestHeader(“X_FILENAME”, file.name);</p>
<p align="left">xhr.send(file);</p>
<p align="left">}</p>
<p align="left">}</p>
<p align="left">The above codes use the object of XmlHttpRequest2, which is only supported by Firefox and Chrome at present. XmlHttpRequest2 is the enhanced version of the original familiar xmlhttprequest. You can refer to the description at</p>
<p align="left"><a href="http://dev.w3.org/%202006/webapi/XMLHttpRequest-2%20/">http://dev.w3.org/ 2006/webapi/XMLHttpRequest-2 /</a></p>
<p align="left">In the above code, the first is to determine whether the type of the uploaded files and the size of picture file meet the requirements. If so, call the send method to send files to the server, and set an HTTP header to the file’s name as X_FILENAME.</p>
<p align="left">In the PHP server-side code, first determine whether it is normal upload or upload via AJAX form through the HTTP header.</p>
<p align="left">$fn = (isset($_SERVER['HTTP_X_FILENAME']) ? $_SERVER['HTTP_X_FILENAME'] : false);</p>
<p align="left">if ($fn) {</p>
<p align="left">// AJAX</p>
<p align="left"> file_put_contents(</p>
<p align="left">‘uploads/’ . $fn,</p>
<p align="left">file_get_contents(‘php://input’)</p>
<p align="left">);</p>
<p align="left">echo “$fn uploaded”;</p>
<p align="left">exit();</p>
<p align="left">}</p>
<p align="left">If the $ fn value is set, then call to use file_put_contents, to duplicate file in uploads folder. If it is uploaded by the ordinary form, then make the following judgments:</p>
<p align="left">else {</p>
<p align="left">$files = $_FILES['fileselect'];</p>
<p align="left">foreach ($files['error'] as $id =&gt; $err) {</p>
<p align="left">if ($err == UPLOAD_ERR_OK) {</p>
<p align="left">$fn = $files['name'][$id];</p>
<p align="left">move_uploaded_file(</p>
<p align="left">$files['tmp_name'][$id],</p>
<p align="left">‘uploads/’ . $fn</p>
<p align="left">);</p>
<p align="left">echo ”</p>
<p align="left">File $fn uploaded.</p>
<p align="left">“;</p>
<p align="left">}</p>
<p align="left">}</p>
<p align="left">}</p>
<p align="left"><strong>Shows</strong><strong> upload progress bar</strong></p>
<p align="left">Next, for the convenience of users, we need to display an upload progress bar. In the era of HTML4, the display of progress bar needs some JavaScript skills. Thus, it is too much complicated. In HTML5, there are progress bar properties feature to support it, currently XmlHttpRequest2 in Firefox and Chrome.</p>
<p align="left">The progress bar properties of HTML5 are<em> value </em>and <em>Max</em>. <em>Value</em> shows the current value of progress bar, and <em>Max</em> ​​defines the maximum value of the progress bar. Unfortunately, the current definition of progress bar in HTML5 lacks definition on style, which can only be beautified by the developer as follows:</p>
<p align="left">#progress p</p>
<p align="left">{</p>
<p align="left">display: block;</p>
<p align="left">width: 240px;</p>
<p align="left">padding: 2px 5px;</p>
<p align="left">margin: 2px 0;</p>
<p align="left">border: 1px inset #446;</p>
<p align="left">border-radius: 5px;</p>
<p align="left">}</p>
<p align="left">We design a progress bar with width as 500px. Among them, 250px is the green part, also showing the part read already. The right part of 250px is set transparent. Here, we set its style according to the upload progress. For example, “background-position: 100% 0 “indicates the beginning of the progress, no part completed. While “background-position: 0% 0” means 0% is remained, and “Background-position: 30% 0 “means 30% are not completed.<br />
In addition, we also designed the required style of upload success or failure as follows:</p>
<p align="left">#progress p.success</p>
<p align="left">{</p>
<p align="left">background: #0c0 none 0 0 no-repeat;</p>
<p align="left">}</p>
<p align="left">#progress p.failed</p>
<p align="left">{</p>
<p align="left">background: #c00 none 0 0 no-repeat;</p>
<p align="left">}</p>
<p align="left">Next, we need to change the former method of upload file () and add code like this:</p>
<p align="left">function UploadFile(file) {</p>
<p align="left">var xhr = new XMLHttpRequest();</p>
<p align="left">if (xhr.upload &amp;&amp; file.type == “image/jpeg” &amp;&amp; file.size &lt;= $id(“MAX_FILE_SIZE”).value) {</p>
<p align="left">var o = $id(“progress”);</p>
<p align="left">var progress = o.appendChild(document.createElement(“p”));</p>
<p align="left">progress.appendChild(document.createTextNode(“upload ” + file.name));</p>
<p align="left">Then, we add upload progress calculation to the upload event in xmlHttpRequest2 as the following code:</p>
<p align="left">xhr.upload.addEventListener(“progress”, function(e) {</p>
<p align="left">var pc = parseInt(100 – (e.loaded / e.total * 100));</p>
<p align="left">progress.style.backgroundPosition = pc + “% 0″;</p>
<p align="left">},</p>
<p align="left">Among them, PC means the remaining upload progress, and assigns value to the CSS style of progress. Finally, if you are familiar with AJAX, you know how to judge whether the file upload is completed through onreadystatechange as follows:</p>
<p align="left">xhr.onreadystatechange = function(e) {</p>
<p align="left">if (xhr.readyState == 4) {</p>
<p align="left">progress.className = (xhr.status == 200 ? “success” : “failure”);</p>
<p align="left">}</p>
<p align="left">};</p>
<p align="left">Similarly, we can determine whether the uploading is achieved by readState, and then set the related CSS style. As for the rest of the code, there is no need to modify them.<br />
Now, this example of file uploading with progress bar is completed, and the specific code can be downloaded at:</p>
<p align="left"><a href="http://blogs.sitepointstatic.com/examples/tech/filedrag/3/filedrag3.zip">http://blogs.sitepointstatic.com/examples/tech/filedrag/3/filedrag3.zip</a></p>
<h4>Incoming search terms:</h4><ul><li>html5 upload files</li><li>HTTP_X_FILENAME</li></ul><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.html5samples.com%2F2011%2F12%2Fupload-files-using-html5-and-ajax-joined-forces%2F&amp;title=Upload%20Files%20Using%20HTML5%20and%20Ajax%20Joined%20Forces" id="wpa2a_12"><img src="http://www.html5samples.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.html5samples.com/2011/12/upload-files-using-html5-and-ajax-joined-forces/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>20 HTML5 sites that changed the game</title>
		<link>http://www.html5samples.com/2011/12/20-html5-sites-that-changed-the-game/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=20-html5-sites-that-changed-the-game</link>
		<comments>http://www.html5samples.com/2011/12/20-html5-sites-that-changed-the-game/#comments</comments>
		<pubDate>Mon, 19 Dec 2011 17:05:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Miscellaneous things on HTML 5]]></category>
		<category><![CDATA[20 HTML5 sites that changed the game]]></category>
		<category><![CDATA[html 5]]></category>
		<category><![CDATA[html5]]></category>

		<guid isPermaLink="false">http://www.html5samples.com/?p=1352</guid>
		<description><![CDATA[By Oli Studholme on December 19, 2011 This year HTML5 truly rocked. Oli Studholme, one of the HTML5 Doctors, runs through 20 of the best sites and covers semantics, audio, client-side web apps, canvas as well as SVG and WebGL and looks ahead to the future 2011 has been an amazing year for HTML5 and [...]]]></description>
			<content:encoded><![CDATA[<h2>By Oli Studholme on <time datetime="2011-12-19T11:00:00+00:00">December 19, 2011</time></h2>
<h2>This year HTML5 truly rocked. Oli Studholme, one of the HTML5 Doctors, runs through 20 of the best sites and covers semantics, audio, client-side web apps, canvas as well as SVG and WebGL and looks ahead to the future</h2>
<p>2011 has been an amazing year for HTML5 and the web. We’ve seen HTML5 continue maturing, <a href="http://www.w3.org/2011/05/html5lc-faq.html" rel="nofollow">progressing to Last Call status in May</a> and on track to be a W3C specification by 2014. The WHATWG have been busy with both improvements to HTML5, and new post-HTML5 features such as <a title="4.8.6 The video element — Web Applications 1.0" href="http://dev.w3.org/html5/webvtt/" rel="nofollow">WebVTT</a>. The progress for browsers has also been staggering, with all five main players actively pushing the boundaries of the web, and Firefox joining Chrome, Opera, and to a lesser extent Safari in frequent, automatic updates. <a href="http://windowsteamblog.com/ie/b/ie/archive/2011/12/15/ie-to-start-automatic-upgrades-across-windows-xp-windows-vista-and-windows-7.aspx" rel="nofollow">One more to go!</a></p>
<p>On the content side, it’s really felt like 2011 has been the year the HTML5, CSS3 and JavaScript web stack has come of age. HTML5 is now the default for most developers, and impressive explorations of the new features HTML5 makes available have been coming thick and fast. Here’s a tiny sampling of some sites that rocked HTML5 this year. Quite a few of them made my jaw drop with the feeling “I can’t believe this is the native web”.</p>
<h3>1. HTML5 For Web Developers</h3>
<p><a href="http://developers.whatwg.org/" rel="nofollow">HTML5 for Web Developers</a> might seem like a strange site to include here, because it’s just a version of the HTML5 specification. Historically W3C specifications have tended to be confusing, written for people who make web browsers, not websites. However, the HTML5 spec text is <em>surprisingly readable</em>, and peppered with examples. If you’ve had bad experiences reading W3C specs in the past, you might be pleasantly surprised.</p>
<p>HTML5 For Web Developers was made by <a title="Ben Schwarz's site" href="http://germanforblack.com/" rel="nofollow">Ben Schwarz</a> and <a title="HTML5, for web developers<br />
— an article by Ben Schwarz" href="http://www.germanforblack.com/articles/html5-for-web-developers" rel="nofollow">friends</a> to be “a companion specification for web developers to use on a regular basis”. It’s a restyled version that drops the “implementor notes” for browser makers, perfect for web developers. Under the very readable print-influenced styling are some nice HTML5 additions too. It uses Offline Cache, and saving it shows a progress bar in supporting browsers using <strong><code>&lt;progress&gt;</code></strong> and the AppCache API. The search-as-you-type feature also works offline, and of course the search box uses <strong><code>type="search"</code></strong>.</p>
<p>It also represents how we can all make a difference. Ben did this as a volunteer project, and <a href="https://github.com/benschwarz/developers.whatwg.org" rel="nofollow">the source is on GitHub</a>. And as web devs we have the skills to do so! Which takes us nicely into …</p>
<p>&nbsp;</p>
<figure><a href="http://developers.whatwg.org/" rel="nofollow"><img src="http://media.netmagazine.com/files/images/2011/12/BestHTML5/developers_whatwg_org.jpg" alt="" /></a></figure>
<p>&nbsp;</p>
<h3>2. Move the Web Forward</h3>
<p><a href="http://movethewebforward.org/" rel="nofollow">Move the Web Forward</a> by <a title="Tick tock." href="http://matmarquis.com/" rel="nofollow">Mat Marquis</a>, <a title="Aaron Forsander | Bite off more than you can chew. AND THEN CHEW IT." href="http://grimhappy.com/" rel="nofollow">Aaron Forsander</a>, <a title="Hello, and thank you for visiting my site." href="http://cnnr.me/" rel="nofollow">Connor Montgomery</a>, <a title="Paul Irish" href="http://paulirish.com/" rel="nofollow">Paul Irish</a>, <a title="Web Design | Nimbupani Designs" href="http://nimbupani.com/" rel="nofollow">Divya Manian</a>, <a title="Nicolas Gallagher – Blog &amp; Ephemera" href="http://nicolasgallagher.com/" rel="nofollow">Nicolas Gallagher</a>, <a title="AddyOsmani.com | jQuery &amp; JavaScript Articles For The Community" href="http://www.addyosmani.com/" rel="nofollow">Addy Osmani</a> and <a href="https://github.com/h5bp/movethewebforward/contributors" rel="nofollow">friends</a> shows you how “you can make the web as awesome as you want it to be”. It lists a range of things for all abilities that you can do to make the web better.</p>
<p>The one-page site features clean HTML5 code, using <strong>data-*</strong> attributes to tie in Twitter hashtag searches. It also has an <a href="https://github.com/h5bp/movethewebforward/pull/38" rel="nofollow">adorable but invalid doctype</a>:</p>
<div>
<div>
<ol>
<li>
<div>&lt;!DOCTYPE html public &#8220;i &amp;hearts; the web&#8221;&gt;</div>
</li>
</ol>
</div>
</div>
<p>(The important bit is <strong><code>&lt;!DOCTYPE html</code></strong>, which triggers standards mode.) But above all, more than any of these awes HTML5 websites, Move the Web Forward’s message is crucial. In <a title="Beyond the Blue Beanie? - The Web Standards Project" href="http://www.webstandards.org/2011/11/30/beyond-the-blue-beanie/" rel="nofollow">Beyond the Blue Beanie?</a>, <a title=". money saving, search engine friendly, web development" href="http://w3conversions.com/" rel="nofollow">Stephanie (Sullivan) Rewis</a> comments “As the saying goes, many hands make light work. How fantastic would it be if there were so many hands that the burden didn’t fall on just a few? Together, let’s make the web rawk even harder!”. You can read more in <a title="AddyOsmani.com | jQuery &amp; JavaScript Articles For The Community" href="http://addyosmani.com/blog/" rel="nofollow">Addy Osmani</a>’s <a href="http://www.smashingmagazine.com/2011/11/30/the-smashing-guide-to-moving-the-web-forward-community/" rel="nofollow">The Smashing Guide To Moving The Web Forward</a>.</p>
<p>&nbsp;</p>
<figure><a href="http://movethewebforward.org/" rel="nofollow"><img src="http://media.netmagazine.com/files/images/2011/12/BestHTML5/movethewebforward_org.jpg" alt="" /></a></figure>
<p>&nbsp;</p>
<h3>3. Boston Globe</h3>
<p><a href="http://bostonglobe.com/" rel="nofollow">The Boston Globe</a> website is the poster child of a beautiful commercial “responsive web design” website. Built mobile-first, it behaves well in old browsers, even those without support for media queries or JavaScript. <a title="Scott Jehl, Web Designer/Developer, Boston, MA | Website, Web Application, and User Interface Design and Development" href="http://scottjehl.com/" rel="nofollow">Scott Jehl</a> of the Filament Group says “Every critical feature of the site was designed to work independent of JavaScript, but enhanced with richer JavaScript-driven interactions in capable browsers.”</p>
<p>Scott continues “We used HTML5 for a number of reasons. Mostly, it’s future-friendly and offered features that were useful in our feature set. For example, we made wide use of <strong><code>data-</code></strong> attributes for configuring behavioural options or associating content enhancements, we also appreciated the ability to use newer semantic elements in place of div/p/span where they made sense.”</p>
<p>&nbsp;</p>
<figure><a href="http://bostonglobe.com/" rel="nofollow"><img src="http://media.netmagazine.com/files/images/2011/12/BestHTML5/bostonglobe_com.jpg" alt="" /></a></figure>
<p>&nbsp;</p>
<h2>Audio</h2>
<h3>4. Anatomy of a mashup</h3>
<p><a title="The Man in Blue >  Code &amp; Beauty&#8221; href=&#8221;http://themaninblue.com/&#8221; rel=&#8221;nofollow&#8221;>Cameron Adams</a> combined his love of music, DJing, datavis and sweet web tech into <a href="http://daftpunk.themaninblue.com/" rel="nofollow">Anatomy of a mashup</a>.</p>
<p>The audio of his mashup of Definitive Daft Punk is visualised using the <strong><code>&lt;audio&gt;</code></strong> API and <strong><code>&lt;canvas&gt;</code></strong>, with support from CSS3 transforms and transitions. Cameron says “All of the waveform and spectrum visualisation is performed in realtime, so your browser is rendering a music video on the fly!” Proving that Flash isn’t dead yet, Cameron used a custom Flash app to get the audio spectrum data.</p>
<p>On HTML5, Cameron says “The thing that I love most about working with HTML5 is the immediacy of development; I can edit a JavaScript file, hit refresh and see what I’ve done immediately. No compiling, no special plugins. It&#8217;s the most accessible way of getting my work out there.”</p>
<p>&nbsp;</p>
<figure><a href="http://daftpunk.themaninblue.com/" rel="nofollow"><img src="http://media.netmagazine.com/files/images/2011/12/BestHTML5/daftpunk_themaninblue_com.jpg" alt="" /></a></figure>
<p>&nbsp;</p>
<h3>5. SoundCloud</h3>
<p><a href="http://soundcloud.com/" rel="nofollow">SoundCloud</a> is a service for recording and sharing sounds, and is a popular way for artists and DJs to share mixes and expand their fan base. It’s also a great case study in pragmatic use of HTML5. While the desktop web app uses Flash to play audio, there’s an option to <a href="http://soundcloud.com/settings/extra" rel="nofollow">use HTML5 Audio in settings</a>. This has also allowed SoundCloud to support the iPad, and they’ve <a title="SoundCloud » We Say HTML5, You Say High Five!" href="http://blog.soundcloud.com/2011/11/03/html5/" rel="nofollow">recently released an HTML5-based widget</a>.</p>
<p>In addition to <strong><code>&lt;audio&gt;</code></strong> and the Audio API, they also use <strong><code>data-*</code></strong> attributes heavily, plus Canvas, SVG, and LocalStorage. <a title="matas's Spotlight page on SoundCloud - Create, record and share your sounds for free" href="http://soundcloud.com/matas" rel="nofollow">Matas Petrikas</a> says “We are especially proud of our use of Canvas in rendering of the widget waveform, the optimisations helped us to reduce the CPU load compared to Flash significantly”. Unfortunately there’s also some user agent sniffing (albeit for pragmatic reasons), and little use of new HTML5 elements or form attributes (although this is changing).</p>
<p>However, HTML5 Audio is not the default due to what Matas describes as “the poor state of HTML5 Media API implementation in web browsers”. To combat this <a title="Senart's Spotlight page on SoundCloud - Create, record and share your sounds for free" href="http://soundcloud.com/senart" rel="nofollow">Tomás Senart</a> and <a title="yvg's Spotlight page on SoundCloud - Create, record and share your sounds for free" href="http://soundcloud.com/yvg" rel="nofollow">Yves Van Goethem</a> created the audio test suite “<a title="AreWePlayingYet? — A pragmatic HTML5 Audio test suite" href="http://areweplayingyet.org/" rel="nofollow">Are We Playing Yet?</a>”. Matas says “The response has been overwhelming, we already have most of the browser makers participating, and we look optimisticly towards 2012!”</p>
<p>Additional problems in mobile devices include recording sound, the lack of widespread support for <strong><code>position:fixed</code></strong> for UI, and the lack of frequent (or any) mobile browser updates – Android WebKit is becoming the modern IE6. Because of this SoundCloud heavily promote their native apps to iOS and Android users. Matas says “we want to offer users the best experience possible, and currently the mobile browsers are still behind”. However, the future still holds promise: “we are big advocates of the upcoming device API (getUserMedia) and we hope in future to be able to capture sounds in the browser without Flash”.</p>
<p>These areas highlight some current problems in both specifications and browsers, but it’s certain both will continue to improve rapidly. For example Mobile Safari now supports background audio, GeoLocation and accelerometer. Even with the problems Matas says compared to Flash making the HTML5 version “was a pretty fast process. Debugging and optimising were also easier. This allows us to build and iterate faster, and in the end our users are happier too!”</p>
<p>&nbsp;</p>
<figure><a href="http://soundcloud.com/" rel="nofollow"><img src="http://media.netmagazine.com/files/images/2011/12/BestHTML5/soundcloud_com-ipad.jpg" alt="" /></a></figure>
<p>&nbsp;</p>
<h3>6. The Wheels Of Steel</h3>
<p><a title=" Turntables in your browser (a web-based DJ prototype)" href="http://wheelsofsteel.net/" rel="nofollow">The Wheels Of Steel</a> by Scott Schiller is two turntables and a mixer, live in the browser.</p>
<p>The demo uses HTML5 Audio where supported, with Flash as a fallback, via Scott’s JavaScript library <a title=" JavaScript Sound For The Web" href="http://www.schillmania.com/projects/soundmanager2/" rel="nofollow">SoundManager 2</a>. It also uses some other fun stuff, including <strong><code>&lt;input type="range"&gt;</code></strong> for the crossfader and localStorage, plus a bunch of CSS3 for the impressive visual bling. Rather than go into detail, I recommend you read Scott’s excellent article <a title=" An Ode To Turntables (in HTML)" href="http://www.schillmania.com/content/entries/2011/wheels-of-steel/" rel="nofollow">The Wheels Of Steel: An Ode To Turntables (in HTML)</a>. I especially like this quote: “the page gracefully degrades and the core UI + content renders nicely even with JavaScript turned off. Blank or illegible pages shown to users without JS … reflects poorly on the site developers.”</p>
<p>&nbsp;</p>
<figure><a href="http://wheelsofsteel.net/" rel="nofollow"><img src="http://media.netmagazine.com/files/images/2011/12/BestHTML5/wheelsofsteel_net.jpg" alt="" /></a></figure>
<p>&nbsp;</p>
<h2>Client-side web apps</h2>
<h3>7. Dabblet</h3>
<p><a href="http://dabblet.com/" rel="nofollow">Dabblet</a> is marauding maker of awesome <a href="http://lea.verou.me/" rel="nofollow">Lea Verou</a>’s newest tool – a live CSS sandbox that saves as GitHub gists, and runs entirely client-side.</p>
<p>It uses a raft of HTML5 and related goodies, including CORS (cross-origin resource sharing), localStorage, the History API, the Selectors API, data-*,contenteditable, and inline SVG. Lea’s considering using the Drag &amp; Drop API for resource embedding and the Offline API in the future, but says “the offline API is a huge pain in the arse&#8221;. She also tried using Web Workers for asynchronous syntax highlighting, but this made it seem slower. She’d also love to use the currently-being-specced UndoManager API once it is implemented, as “a big portion of dabblet’s code is devoted to recreating Undo/Redo”.</p>
<p>It also uses Lea’s controversial <a href="http://leaverou.github.com/prefixfree/" rel="nofollow">-prefix-free library</a> to handle CSS vendor prefixes automatically. Lea’s considering a no-prefix-free option, or potentially adding something like LESS. While Eric Meyer has eloquently <a href="http://www.alistapart.com/articles/prefix-or-posthack/" rel="nofollow">stated the case for vendor prefixes</a>, <a href="http://nimbupani.com/when-to-use-vendor-specific-extensions.html" rel="nofollow">Divya Manian</a>, <a href="http://hsivonen.iki.fi/vendor-prefixes/" rel="nofollow">Henri Sivonen</a>, and <a href="http://lea.verou.me/2011/11/vendor-prefixes-have-failed-whats-next/" rel="nofollow">Lea</a> have all written on how <a href="http://wiki.csswg.org/spec/vendor-prefixes" rel="nofollow">vendor prefixes – as currently used</a> (copy, paste, forget) have problems. While not HTML5, it’s an interesting issue about a fundamental part of how we work, and the <a href="http://lists.w3.org/Archives/Public/www-style/" rel="nofollow">CSS Working Group would welcome input via www-style</a>.</p>
<p>Because the target audience are web developers, Lea hasn’t worried about backward compatibility. “If it was for a less tech savvy audience where IE is a concern, I’d still use HTML5, but with proper polyfills and fallbacks in place.” On HTML5, Lea says “HTML5 means<br />
three things for us developers: speed, universality, and openness. Making cool things is now easier than ever.”</p>
<p>&nbsp;</p>
<figure><a href="http://dabblet.com/" rel="nofollow"><img src="http://media.netmagazine.com/files/images/2011/12/BestHTML5/dabblet_com.png" alt="" /></a></figure>
<p>&nbsp;</p>
<h3>8. Font Dragr</h3>
<p><a href="http://fontdragr.com/" rel="nofollow">font dragr</a> by <a title=" Front-end developer, avid basketballer, budding astronomer and CSS lover." href="http://www.ryanseddon.com/" rel="nofollow">Ryan Seddon</a> allows you to preview custom fonts in the browser by simply dragging a font file from your computer into font dragr, or choosing from a list. Even better, you can use the font dragr bookmarklet and change the fonts on <em>any</em> site, targeting each font using a CSS selector. This lets you preview and compare fonts for <strong><code>@font-face</code></strong> use quickly, leaving the coding until you’ve decided.</p>
<p>It uses new HTML5 elements, the Drag and Drop API, the History API, the <strong><code>contenteditable</code></strong> attribute, and localStorage. Support for Google Web Fonts is also in the works. Ryan says localStorage is used to “do an ajax request which will get the view html, replace it in the DOM and then cache that view html in localStorage. So it only needs to do a network request the first time around.” On HTML5, Ryan simply says “it is the future”.</p>
<p>&nbsp;</p>
<figure><a href="http://fontdragr.com/" rel="nofollow"><img src="http://media.netmagazine.com/files/images/2011/12/BestHTML5/fontdragr_com.jpg" alt="" /></a></figure>
<p>&nbsp;</p>
<h2>SVG</h2>
<p>While not part of the HTML5 spec, some amazing sites have also been making great use of <a title="Scalable Vector Graphics (SVG) 1.1 (Second Edition)" href="http://www.w3.org/TR/SVG/" rel="nofollow">this powerful vector drawing specification</a>.</p>
<h3>9. Slavery Footprint</h3>
<p><a href="http://www.slaveryfootprint.org/" rel="nofollow">Slavery Footprint</a> is an interactive survey that answers the question “how many slaves work for you?” to raise consciousness about modern-day slavery.</p>
<p>It heavily uses JavaScript to lazy-load and animate content, along with new HTML5 elements, GeoLocation and SVG. While in a modern browser the results are compelling and highly effective, sadly the site is not built with best practices. The survey form is unusable without JavaScript, and the information about slavery (“What? Slaves work for me?”) is inaccessible text-as-image. Perhaps because it didn’t start “content first”, <a href="http://www.howinteractivedesign.com/designing/slavery-footprint-made-in-a-free-world" rel="nofollow">Slavery Footprint also initially had some teething troubles</a>, both with hosting and providing support for old browsers – the client was the USA State Department, who were still using Internet Explorer 7. Despite the problems it’s been successful in interactively raising awareness of modern slavery.</p>
<p>&nbsp;</p>
<figure><a href="http://www.slaveryfootprint.org/" rel="nofollow"><img src="http://media.netmagazine.com/files/images/2011/12/BestHTML5/slaveryfootprint_org.jpg" alt="" /></a></figure>
<p>&nbsp;</p>
<h3>10. Kern Type</h3>
<p><a href="http://type.method.ac/" rel="nofollow">Kern Type</a> is a type kerning game by <a href="http://duopixel.ca/" rel="nofollow">Mark MacKay</a> that is strangely addictive. You try to move the letters in a word to correctly kern them, and are scored on how well you did. Each word is in a different font too.</p>
<p>In addition to SVG with the help of the <a href="http://raphaeljs.com/" rel="nofollow">JavaScript library Raphaël</a> to draw the letterforms, it uses <strong><code>data-*</code></strong> attributes for font data (the initial positions and the x-height), and Raphaël’s drag-n-drop for interactivity.</p>
<p>Mark says “I didn’t plan supporting tablets, but when I was almost finished I fired up Kern Type on my iPad and I was pleasantly surprised: not only was it almost 100% functional, the animations were smooth and the drag and drop worked great. All I had to to was add a couple of lines of JavaScript to prevent the page from scrolling and that was it.” He ended up using Raphaël drag-and-drop because with HTML5’s “I would have had to build an interface between Raphaël and my custom made javascript. I would have used HTML5’s drag-and-drop if I needed to drop over targets, as that’s notoriously difficult.”</p>
<p>When you complete it, have a go at the sister game <a href="http://shape.method.ac/" rel="nofollow">Shape Type</a>, and stay tuned for <a href="http://method.ac/" rel="nofollow">Method of Action</a>’s first course “Design for programmers”, of which they’re both a part of.</p>
<p>&nbsp;</p>
<figure><a href="http://type.method.ac/" rel="nofollow"><img src="http://media.netmagazine.com/files/images/2011/12/BestHTML5/type_method_ac.jpg" alt="" /></a></figure>
<p>&nbsp;</p>
<h3>11. SVG Girl</h3>
<p><a href="http://jsdo.it/event/svggirl" rel="nofollow">SVG Girl</a> is a demo site produced for the Internet Explorer 9 release. It showed off IE9’s SVG powers with a very Japanese flip-book type animation running at 10 SVG frames per second, with sound via the <strong><code>&lt;audio&gt;</code></strong> element and an intro <strong><code>&lt;video&gt;</code></strong>.</p>
<p>It was made by the core members of <a title="jsdo.it - Share JavaScript, HTML5 and CSS" href="http://jsdo.it/" rel="nofollow">jsdo.it</a>, a social coding community site for creating, sharing and forking JavaScript, HTML5 and CSS code. This is run by Kayac, who describe themselves as “the most playful company in Japan” (as their great <a title="社員紹介 | 面白法人カヤック" href="http://www.kayac.com/team/" rel="nofollow">`data-*` and SVG-powered team page</a> demonstrates).</p>
<p>I’ve yet to see any Japanese schoolgirls experiencing such a transformation while using Windows Phone 7.5, but hey it’s Japan — <em>anything</em> is possible <img src='http://www.html5samples.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  For another interesting Japanese example, have a look at <a href="http://www.theshodo.com/" rel="nofollow">The Shodo</a>, a <strong><code>&lt;canvas&gt;</code></strong>-based traditional calligraphy web app, that stores stroke info as SVG paths.</p>
<p>&nbsp;</p>
<figure><a href="http://jsdo.it/event/svggirl" rel="nofollow"><img src="http://media.netmagazine.com/files/images/2011/12/BestHTML5/svg-girl.jpg" alt="" /></a></figure>
<p>&nbsp;</p>
<h2>Canvas</h2>
<h3>12. Peoplemovin</h3>
<p><a href="http://peoplemov.in/" rel="nofollow">Peoplemovin</a> is a personal project from <a title="makinguse" href="http://www.makinguse.com/" rel="nofollow">Carlo Zapponi</a> to show migration flows across the world, based around a flow diagram (inspired by Sankey diagrams). More than 215 million people, three per cent of the world population, live outside their countries of birth. Peoplemovin makes it easy to investigate migration by country, with intuitive visual representations explaining the statistics.</p>
<p>Carlo says “The foundation of the website is the canvas, all the interactions and visualisation happens in the space of the canvas that let me draw the connecting lines between the countries. I also used some CSS3 rules for rounded corners, shadows and glows and fonts.” In addition to the latest browsers it also works on smartphones and tablets. Carlo ended up making his own open-source toolkit called DataMovin to achieve this, which he plans to release at some stage (check the source in the meantime).</p>
<p>Describing HTML5, Carlo says “What’s great about HTML5 is that it is the perfect platform for creativity. You have a new crazy idea? Great! In a shorter time than ever before you can build anything into the browser without reinventing the wheel every time.”</p>
<p>&nbsp;</p>
<figure><a href="http://peoplemov.in/" rel="nofollow"><img src="http://media.netmagazine.com/files/images/2011/12/BestHTML5/peoplemov_in.jpg" alt="" /></a></figure>
<p>&nbsp;</p>
<h3>13. Rally Interactive</h3>
<p><a href="http://beta.rallyinteractive.com/" rel="nofollow">Rally Interactive</a>’s website contains a masterful example of creatively using canvas for interactivity. The triangular shapes react to hover and click in a way that until recently would have required a plugin like Flash.</p>
<p>As Wes Pearce says “We simply couldn’t have gotten the effect we wanted for our site without the HTML5 canvas. Support for the canvas in the latest browsers is shockingly uniform. We also put the new History API to good use, and were surprised at how quick it was to implement.”</p>
<p>&nbsp;</p>
<figure><a href="http://beta.rallyinteractive.com/" rel="nofollow"><img src="http://media.netmagazine.com/files/images/2011/12/BestHTML5/beta_rallyinteractive_com.jpg" alt="" /></a></figure>
<p>&nbsp;</p>
<h3>14. Up and Down the Ladder of Abstraction</h3>
<p><a title="Up and Down the Ladder of Abstraction" href="http://worrydream.com/LadderOfAbstraction/" rel="nofollow">Up and Down the Ladder of Abstraction</a> by <a title="Bret Victor, beast of burden" href="http://worrydream.com/" rel="nofollow">Bret Victor</a> is a great example of using interaction in support of text to really communicate ideas.</p>
<p><strong><code>&lt;canvas&gt;</code></strong> examples are injected into the essay, allowing you to interactively learn about the point being made. I think this kind of thing is going to be a major part of future educational books, making ePUB 3 and HTML far superior to PDF, ePUB 2, and Kindle Format 8.</p>
<p>&nbsp;</p>
<figure><a href="http://worrydream.com/LadderOfAbstraction/" rel="nofollow"><img src="http://media.netmagazine.com/files/images/2011/12/BestHTML5/ladderofabstraction.jpg" alt="" /></a></figure>
<p>&nbsp;</p>
<h3>15. Sumon</h3>
<p><a title="Ludei" href="http://www.ludei.com/sumon" rel="nofollow">Sumon</a> is a simple addition game with great attention to detail. It’s been made by Ludei as <a title="CAAT" href="http://caat.ludei.com/#sumon" rel="nofollow">a tech demo for their CAAT framework</a>, which outputs to Canvas, WebGL and DOM/CSS.</p>
<p>As with <a href="http://www.agent8ball.com/" rel="nofollow">Agent 008 Ball</a> and <a href="http://www.pirateslovedaisies.com/" rel="nofollow">Pirates Love Daisies</a> from 2010, it’s a great example of the combination of canvas and audio plus talent – a fun game that runs right in your browser. It’s also available in the iTunes, Chrome and Android stores, plus as a Facebook game, all from the same codebase. That’s the kind of reach native apps just don’t have.</p>
<p>Iker Jamardo writes “JavaScript and HTML5 features are great game development platforms. The main disadvantage we found is poor performance in mobile device browsers.” While Ludei believes this will improve eventually, they’ve developed the <a href="http://www.ludei.com/cocoon" rel="nofollow">Cocoon and CocoonJS frameworks</a> to achieve native performance on mobiles. Iker concludes “we deeply believe JavaScript and HTML5 are great for game development and multiplatform deployment”.</p>
<p>&nbsp;</p>
<figure><a href="http://www.ludei.com/sumon" rel="nofollow"><img src="http://media.netmagazine.com/files/images/2011/12/BestHTML5/sumon.jpg" alt="" /></a></figure>
<p>&nbsp;</p>
<h2>WebGL</h2>
<p>WebGL is again not part of the HTML5 spec – it’s a separately specified API that allows 3D graphics to be used in <strong><code>&lt;canvas&gt;</code></strong>. However, for crazy eye candy it’s hard to beat. Rather than go into details, let’s just see some examples:</p>
<h3>16. HelloRacer</h3>
<p><a title="HelloRacer™ WebGL" href="http://helloracer.com/webgl/" rel="nofollow">HelloRacer</a> by <a href="http://helloenjoy.com/" rel="nofollow">HelloEnjoy</a>, a sweet drivable F-1 race car.</p>
<p>&nbsp;</p>
<figure><a href="http://helloracer.com/webgl/" rel="nofollow"><img src="http://media.netmagazine.com/files/images/2011/12/BestHTML5/helloracer_com.jpg" alt="" /></a></figure>
<p>&nbsp;</p>
<h3>17. WebGL Shader — Travelling wave fronts tech demo</h3>
<p><a title="WebGL Shader Lab" href="http://www.cake23.de/traveling-wavefronts-lit-up.html" rel="nofollow">The travelling wave fronts tech demo</a> is a “fine-tuned 8bit reaction-diffusion system with added traveling wave fronts and subpixel decay”. Mesmerising.</p>
<p>&nbsp;</p>
<figure><a href="http://www.cake23.de/traveling-wavefronts-lit-up.html" rel="nofollow"><img src="http://media.netmagazine.com/files/images/2011/12/BestHTML5/wavefronts.jpg" alt="" /></a></figure>
<p>&nbsp;</p>
<h3>18. ROME “3 Dreams of Black”</h3>
<p><a title="ROME" href="http://www.ro.me/" rel="nofollow">ROME “3 Dreams of Black”</a> is an interactive music video by Chris Milk and friends, to music by Danger Mouse, Danielle Luppi and Norah Jones.</p>
<p>&nbsp;</p>
<figure><a href="http://www.ro.me/" rel="nofollow"><img src="http://media.netmagazine.com/files/images/2011/12/BestHTML5/ro_me.jpg" alt="" /></a></figure>
<p>&nbsp;</p>
<p>Don’t miss their <a title="ROME | Tech" href="http://www.ro.me/tech/" rel="nofollow">tech demos and video</a> about the technology behind the movie.</p>
<p>You can learn more about WebGL, and see more amazing examples, in Dev.Opera’s “<a title="An introduction to WebGL - Dev.Opera" href="http://dev.opera.com/articles/view/an-introduction-to-webgl/" rel="nofollow">An introduction to WebGL</a>” (and “<a title="Porting 3D graphics to the web — WebGL intro part 2 - Dev.Opera" href="http://dev.opera.com/articles/view/porting-3d-graphics-to-the-web-webgl-intro-part-2/" rel="nofollow">Porting 3D graphics to the web</a>”) by <a href="https://twitter.com/gerbille" rel="nofollow">Luz Caballero</a>. Opera is also preparing a comprehensive list of WebGL tutorials, coming “very soon”.</p>
<h2>The future / the present</h2>
<p>There’s a lot of amazing stuff coming to the web stack too. Let’s look at just one example – the <a title=" Real-time Communication Between Browsers" href="http://dev.w3.org/2011/webrtc/editor/webrtc.html" rel="nofollow">WebRTC (Real-time communication)</a> specification (<strong><code>getUserMedia</code></strong>). This allows you to “exchange real-time, interactive media, including audio and video”, with a major use being video chat between browsers. Opera also has <a title="Playing with HTML5 video and getUserMedia support - Dev.Opera" href="http://dev.opera.com/articles/view/playing-with-html5-video-and-getusermedia-support/" rel="nofollow">experimental support for <code>getUserMedia</code> in developer builds</a> for both desktop and mobile.</p>
<h3>19. Browser-based video chat</h3>
<p>Ericsson Labs has been working on this for a while, and has a <a href="https://labs.ericsson.com/apis/web-real-time-communication/" rel="nofollow">WebKit library for download</a> (<a href="https://labs.ericsson.com/developer-community/blog/web-rtc-tutorial" rel="nofollow">more info and tutorial</a>).</p>
<p>&nbsp;</p>
<figure><a href="http://labs.ericsson.com/apis/web-real-time-communication/" rel="nofollow"><img src="http://media.netmagazine.com/files/images/2011/12/BestHTML5/webrtc.jpg" alt="" /></a></figure>
<p>&nbsp;</p>
<h3>20. Face detection/moustache demo</h3>
<p>Opera also has experimental support for WebRTC, and the <a title="DeviceOrientation Event Specification" href="http://dev.w3.org/geo/api/spec-source-orientation.html" rel="nofollow">DeviceOrientation Event</a> specification, in a custom build called <a title="More fun using the Web, with getUserMedia and native pages - Dev.Opera" href="http://dev.opera.com/articles/view/labs-more-fun-using-the-web-with-getusermedia-and-native-pages/" rel="nofollow">Opera Labs Camera and Pages</a>. <a href="http://richt.me/" rel="nofollow">Rich Tibbett</a> wrote <a title="Opera Core Concerns - Native webcam support and orientation events - technology preview" href="http://my.opera.com/core/blog/2011/03/23/webcam-orientation-preview" rel="nofollow">Native webcam support and orientation events</a> on using both specs, and made a demo using WebRTC that performs <a title="Face Detection *** experimental demo ***" href="http://people.opera.com/richt/release/demos/device/facerecognition/" rel="nofollow">face detection on live video</a>. If that isn’t awesome enough, it also allows you to add a moustache. To live video. <em>In the browser</em>.</p>
<p>&nbsp;</p>
<figure><a href="http://people.opera.com/richt/release/demos/device/facerecognition/" rel="nofollow"><img src="http://media.netmagazine.com/files/images/2011/12/BestHTML5/face-recognition.jpg" alt="" /></a></figure>
<p>&nbsp;</p>
<p>Bravo, interwebs. Bravo.</p>
<h2>Conclusion</h2>
<p>As you’ve no doubt noticed by now, despite grouping these websites by an HTML5 technology they use, they’re all using way more than just one. While not everything is ready for adoption, there’s a lot of goodness in the HTML5 specification (and other web stack specs like SVG and WebGL) that you can use <em>right now</em>. Keep up to date and find out more at <a title="HTML5 Doctor, helping you implement HTML5 today" href="http://html5doctor.com/" rel="nofollow">HTML5 Doctor</a>, the <a title="Planet HTML5" href="http://www.w3.org/html/planet/" rel="nofollow">W3C’s Planet HTML5</a> and on Twitter with <a href="https://twitter.com/html5" rel="nofollow">@HTML5</a>.</p>
<p>The “HTML5” buzzword has been a double-edged sword, but it’s helped the bandwagon gain momentum and made an impression on management too. Hopefully with this pile of inspiration you’ll return to the first two sites in the article, go forth and make awesome!</p>
<h4>Incoming search terms:</h4><ul><li>html5 face detection</li><li>thml5 slider bar samples</li><li>svg samples</li><li>html getusermedia ie9</li><li>video chat by getUserMedia</li><li>local storage canvas html5 svenska</li><li>latest html5 websites</li><li>internet explorer 9 embed youtube thml5</li><li>best thml5 websites</li><li>html5 examples canvas</li></ul><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.html5samples.com%2F2011%2F12%2F20-html5-sites-that-changed-the-game%2F&amp;title=20%20HTML5%20sites%20that%20changed%20the%20game" id="wpa2a_14"><img src="http://www.html5samples.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.html5samples.com/2011/12/20-html5-sites-that-changed-the-game/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SVG to HTML5 Canvas Converter</title>
		<link>http://www.html5samples.com/2011/12/svg-to-html5-canvas-converter/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=svg-to-html5-canvas-converter</link>
		<comments>http://www.html5samples.com/2011/12/svg-to-html5-canvas-converter/#comments</comments>
		<pubDate>Fri, 16 Dec 2011 13:08:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML 5 Canvas]]></category>
		<category><![CDATA[HTML5 Canvas Converter]]></category>
		<category><![CDATA[SVG Converter]]></category>
		<category><![CDATA[SVG to HTML5 Canvas Converter]]></category>
		<category><![CDATA[SVG to HTML5 Converter]]></category>

		<guid isPermaLink="false">http://www.html5samples.com/?p=1349</guid>
		<description><![CDATA[SVG to HTML5 Canvas Tool converts SVG into an HTML5 Canvas JavaScript function. It helps people to experiment with Canvas. This online tool uses a modified version of the excellent Canvg library. Canvg usually renders the SVG immediately and does not output JavaScript source code. Having the source code available allows you to study and [...]]]></description>
			<content:encoded><![CDATA[<p>SVG to HTML5 Canvas Tool converts SVG into an HTML5 Canvas JavaScript function. It helps people to experiment with Canvas. This online tool uses a modified version of the excellent Canvg library. Canvg usually renders the SVG immediately and does not output JavaScript source code. Having the source code available allows you to study and manipulate the Canvas statements as required. It works with a reasonable subset of SVG. Due to the low-level nature of Canvas, some of the JavaScript functions can be quite large. Try this tool and convert your SVG file into HTML5 canvas equivalent.</p>
<p>http://www.professorcloud.com/svg-to-canvas/</p>
<h4>Incoming search terms:</h4><ul><li>canvas html5 svg convert</li><li>convert svg to canvas</li><li>convert svg to html5</li><li>convert svg to javascript html5</li><li>html5 canvas svg</li><li>html5 canvas tutorial 한글</li><li>svg to canvas conversion</li><li>svg to canvas converter</li></ul><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.html5samples.com%2F2011%2F12%2Fsvg-to-html5-canvas-converter%2F&amp;title=SVG%20to%20HTML5%20Canvas%20Converter" id="wpa2a_16"><img src="http://www.html5samples.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.html5samples.com/2011/12/svg-to-html5-canvas-converter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to use nested figure elements</title>
		<link>http://www.html5samples.com/2011/11/how-to-use-nested-figure-elements/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-use-nested-figure-elements</link>
		<comments>http://www.html5samples.com/2011/11/how-to-use-nested-figure-elements/#comments</comments>
		<pubDate>Fri, 25 Nov 2011 16:08:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[New features in HTML 5]]></category>
		<category><![CDATA[figcaption]]></category>
		<category><![CDATA[figcaption element]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[html5 nested figure]]></category>
		<category><![CDATA[nested figure elements]]></category>

		<guid isPermaLink="false">http://www.html5samples.com/?p=1347</guid>
		<description><![CDATA[If you have a number of related images (or other content) with caption text,  you can use nested figure elements to associate both a group caption and an individual caption to each  instance using the figcaption element. Using nested figure elements is a useful method for grouping related content instances, such as images. Examples are [...]]]></description>
			<content:encoded><![CDATA[<p>If you have a number of related images (or other content) with caption text,  you can use nested <code>figure</code> elements to associate both a group caption and an individual caption to each  instance using the figcaption element.</p>
<p>Using nested <code>figure</code> elements is a useful method for grouping related content instances, such as images.</p>
<p>Examples are provided on a separate page: Use of nested figures</p>
<h3>Recommended methods – grouped images</h3>
<p>Examples of <strong>recommended methods</strong> for marking up groups of images which have associated captions:</p>
<h2>Example 1. Code using nested figure elements:</h2>
<h3>Notes</h3>
<ul>
<li>The group<code> figcaption</code> is placed at the top of the group <code>figure</code>.</li>
<li>Each image is in a nested <code>figure</code> with an associated <code>figcaption</code> below the image.</li>
<li>The name of the photographer in the third caption is French, as the caption text is contained with the <code>figcaption</code> element the name can be marked up using the <code>lang</code> attribute to indicate it is to be pronounced differently from the rest of the text in the page.</li>
<li>The ARIA <a href="http://www.w3.org/TR/wai-aria/roles#group">role=&#8221;group&#8221;</a> is used to indicate the semantics of the <code>figure</code> and the labelling relationship of <code>figcaption</code> to assistive technologies. Refer to the Firefox implementation bug:<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=658272#c3"> Implement figure and figcaption accessibility</a> for more details.</li>
</ul>
<div>
<p><code>&lt;figure role="group"&gt;<br />
&lt;figcaption&gt;The castle through the ages: 1423, 1756, and 1966 respectively.&lt;/figcaption&gt;<br />
</code></p>
<p><code>&lt;figure role="group"&gt;<br />
&lt;img src="castle-etching.jpg" alt="The castle has one tower, and a tall wall around it."&gt;<br />
&lt;figcaption&gt;Charcoal on wood. Anonymous, circa 1423.&lt;/figcaption&gt;<br />
&lt;/figure&gt;</p>
<p>&lt;figure role="group"&gt;<br />
&lt;img src="castle-painting.jpg" alt="The castle now has two towers and two walls."&gt;<br />
&lt;figcaption&gt;Oil-based paint on canvas. Eloisa Faulkner, 1756.&lt;/figcaption&gt;<br />
&lt;/figure&gt;</p>
<p>&lt;figure role="group"&gt;<br />
&lt;img src="castle-fluro.jpg" alt="The castle lies in ruins, the original tower all that remains in one piece."&gt;<br />
&lt;figcaption&gt;Film photograph. &lt;span lang="fr"&gt;Séraphin Médéric Mieusement&lt;/span&gt;, 1936.&lt;/figcaption&gt;<br />
&lt;/figure&gt;<br />
&lt;/figure&gt;</code></p>
</div>
<h2>Example 1. Display using nested figure elements:</h2>
<h3>Notes</h3>
<ul>
<li>Placement of the group caption at the top of the containing <code>figure</code> means users will encounter it first as the navigate through the content.</li>
<li>Nesting of <code>figure</code> elements provides a richer more granular content structure.</li>
<li>Use of the <code>figcaption</code> to mark up each caption means that caption texts are visible to all users by default and additional semantic markup can be added to the caption text if required.</li>
</ul>
<p>&nbsp;</p>
<p>&nbsp;</p>
<figure role="group">
<figcaption>The castle through the ages: 1423, 1756, and 1966 respectively.</figcaption>
<figure role="group"> <img src="http://www.html5accessibility.com/tests/castle-etching.jpg" alt="The castle has one tower, and a tall wall around it." width="350" height="259" border="0" /><br />
<figcaption>Charcoal on wood. Anonymous, circa 1423.</figcaption>
</figure>
<figure role="group"> <img src="http://www.html5accessibility.com/tests/castle-painting.jpg" alt="The castle now has two towers and two walls." width="350" height="263" border="0" /><br />
<figcaption>Oil-based paint on canvas. Eloisa Faulkner, 1756.</figcaption>
</figure>
<figure role="group"><img src="http://www.html5accessibility.com/tests/castle-fluro.jpg" alt="The castle lies in ruins, the original tower all that remains in one piece." width="350" height="336" border="0" /><br />
<figcaption>Film photograph. Séraphin Médéric Mieusement, 1936.</figcaption>
</figure>
</figure>
<p>&nbsp;</p>
<p>&nbsp;</p>
<hr />
<h2><a name="re2"></a>Example 2: Using nested figure elements and CSS to show/hide caption information.</h2>
<h3>Notes:</h3>
<p>It may be a requirement for visual design that the caption text is not always visible. This can be achieved through the use of some additional markup and CSS to hide/show the caption text on hover or focus.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<figure role="group">
<figcaption id="maincap">The castle through the ages: 1423, 1756, and 1966 respectively.</figcaption>
<figure role="group"> <img src="http://www.html5accessibility.com/tests/castle-etching.jpg" alt="The castle has one tower, and a tall wall around it." width="350" height="259" border="0" /><br />
<figcaption><a id="caption1" tabindex="0"><img src="http://www.html5accessibility.com/tests/i.png" alt="" width="17" height="17" border="0" />caption </a>Charcoal on wood. Anonymous, ca. 1423.</figcaption>
</figure>
<figure role="group"> <img src="http://www.html5accessibility.com/tests/castle-painting.jpg" alt="The castle now has two towers and two walls." width="350" height="263" border="0" /><br />
<figcaption><a id="caption2" tabindex="0"><img src="http://www.html5accessibility.com/tests/i.png" alt="" width="17" height="17" border="0" />caption </a>Oil-based paint on canvas. Eloisa Faulkner, 1756.</figcaption>
</figure>
<figure role="group"><img src="http://www.html5accessibility.com/tests/castle-fluro.jpg" alt="The castle lies in ruins, the original tower all that remains in one piece." width="350" height="336" border="0" /><br />
<figcaption><a id="caption3" tabindex="0"><img src="http://www.html5accessibility.com/tests/i.png" alt="" width="17" height="17" border="0" />caption </a>Film photograph. Séraphin Médéric Mieusement, 1936.</figcaption>
</figure>
</figure>
<p>&nbsp;</p>
<p>&nbsp;</p>
<hr />
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h3>How NOT TO markup groups of images with associated captions</h3>
<p>The HTML5 specification does not currently provide an example of using nested <code>figure</code> elements to mark up a group of images and their captions. Instead it promotes the use of the <code>title</code> attribute anti-pattern to caption the individual images within a <code>figure</code>.</p>
<p>An example of <strong>how not to</strong> mark up groups of images which have associated captions is provided in Example 3 – bad code example</p>
<h2><a name="re3"></a>Example 3. A version of the original <a href="http://dev.w3.org/html5/spec/grouping-content.html#the-figure-element">example code</a> from the HTML5 specification of a figure containing multiple images:</h2>
<h3><strong>Notes: </strong></h3>
<ul>
<li><strong>DO NOT markup</strong> multiple images inside a single <code>figure</code> using the <code>title</code> attribute to provide a caption for individual images.</li>
<li><a href="http://www.paciellogroup.com/blog/2010/11/using-the-html-title-attribute/">Using the title attribute</a> in this way is an <a href="http://en.wikipedia.org/wiki/Anti-pattern">anti-pattern</a> that hides content from keyboard and touch interface users and it is an <a href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=14740">ambiguous</a> semantic container for plain text only.</li>
<li>Caption text in the title attribute cannot be marked up for changes in language or emphasis or any other semantic properties it may include.</li>
</ul>
<h3><code><strong>&lt;!-- THIS IS BAD CODE DO NOT USE IT --&gt;</strong></code></h3>
<div><code><br />
&lt;figure&gt;<br />
&lt;img src="castle1423.jpeg" title="Charcoal on wood. Anonymous, circa 1423."<br />
alt="The castle has one tower, and a tall wall around it."&gt;<br />
&lt;img src="castle1858.jpeg" title="Oil-based paint on canvas. Eloisa Faulkner, 1756."<br />
alt="The castle now has two towers and two walls."&gt;<br />
&lt;img src="castle1999.jpeg" title="Film photograph. Séraphin Médéric Mieusement, 1936."<br />
alt="The castle lies in ruins, the original tower all that remains in one piece."&gt;<br />
&lt;figcaption&gt;The castle through the ages: 1423, 1756, and 1936 respectively.&lt;/figcaption&gt;<br />
&lt;/figure&gt;</code></div>
<h2>Example 3. Display of a figure containing multiple images with captions text in the img title attribute:</h2>
<h3><strong>Notes:</strong></h3>
<ul>
<li>If you are a mouse user you can view the caption text by hovering the mouse cursor over the images.</li>
<li>If you are a keyboard only user or are viewing the content on a touch display you will be unable to access the caption content.</li>
<li>The title attribute is an ambiguous and limited semantic container for caption text and therefore is not to be used.</li>
</ul>
<p>&nbsp;</p>
<p>&nbsp;</p>
<figure> <img title="Charcoal on  wood. Anonymous, circa 1423." src="http://www.html5accessibility.com/tests/castle-etching.jpg" alt="The castle has one tower, and a tall wall around it." width="350" height="259" border="0" /> <img title="Oil-based paint on canvas. Eloisa Faulkner, 1756." src="http://www.html5accessibility.com/tests/castle-painting.jpg" alt="The castle now has two towers and two walls." width="350" height="263" border="0" /> <img title="Film photograph. Séraphin Médéric Mieusement, 1936." src="http://www.html5accessibility.com/tests/castle-fluro.jpg" alt="The castle lies in ruins, the original tower all that remains in one piece." width="350" height="336" border="0" /><br />
<figcaption>The castle through the ages: 1423, 1756, and 1936 respectively.</figcaption>
</figure>
<p>&nbsp;</p>
<h4>Incoming search terms:</h4><ul><li>A nested in FIGCAPTION</li><li>html5 figcaption demo</li></ul><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.html5samples.com%2F2011%2F11%2Fhow-to-use-nested-figure-elements%2F&amp;title=How%20to%20use%20nested%20figure%20elements" id="wpa2a_18"><img src="http://www.html5samples.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.html5samples.com/2011/11/how-to-use-nested-figure-elements/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML 5, Amazon and The Future of SEO</title>
		<link>http://www.html5samples.com/2011/10/html-5-amazon-the-future-of-seo/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=html-5-amazon-the-future-of-seo</link>
		<comments>http://www.html5samples.com/2011/10/html-5-amazon-the-future-of-seo/#comments</comments>
		<pubDate>Mon, 31 Oct 2011 15:24:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML 5 And SEO]]></category>
		<category><![CDATA[New features in HTML 5]]></category>
		<category><![CDATA[Amazon]]></category>
		<category><![CDATA[html 5]]></category>
		<category><![CDATA[html 5 seo]]></category>
		<category><![CDATA[html5 amazon]]></category>
		<category><![CDATA[HTML5 and SEO]]></category>
		<category><![CDATA[The Future of SEO]]></category>

		<guid isPermaLink="false">http://www.html5samples.com/?p=1343</guid>
		<description><![CDATA[Amazon&#8217;s recent announcement that it will support HTML 5 in their new eBook format &#8211; Kindle Format 8 (or KF8) &#8211; to be used by its Kindle Fire, highlights the growing trend of websites adopting HTML 5 as the accepted future web standard. With this new following will come more opportunities for the pro-active SEO [...]]]></description>
			<content:encoded><![CDATA[<div>
<p>Amazon&#8217;s recent announcement that it will support HTML 5 in their new eBook format &#8211; Kindle Format 8 (or KF8) &#8211; to be used by its Kindle Fire, highlights the growing trend of websites adopting HTML 5 as the accepted future web standard.</p>
<p>With this new following will come more opportunities for the pro-active SEO to take advantage of a number of features of this new format to gain the edge over the competition.</p>
<p>There&#8217;s been plenty of speculation in the online world about the opportunities inherent in the new HTML tags, so because of that, I won&#8217;t belabor that point.</p>
<p>But what I would like to do is highlight the very important search optimisation opportunities that can be gained from semantic HTML 5 tags&#8230;<em>right now</em>.</p>
<h2>Link Architecture Optimisation with HTML 5</h2>
<p>Google has already rolled out support of more semantic &lt;a&gt; rel attributes &#8211; part of HTML 5 &#8211; to their Search Engine Result Pages (SERPs).</p>
<p>For example, Google&#8217;s support of rel=&#8221;next&#8221; &amp; rel=&#8221;prev&#8221; was publicised in September (confirming behaviour already spotted in US SERPS while the testing for this feature was carried out), allowing different optimal SERP listings to be generated from the same website based on a searcher&#8217;s query <em><strong>with very fine grained control</strong></em>.</p>
<p>As another example, Google&#8217;s rel=&#8221;canonical&#8221; tags have been around for a while now, and can also be considered an extension of the semantic markup promoted by HTML 5.</p>
<p>Google&#8217;s interpretation of the tag is now becoming more complex, as the meta &lt;link&gt; tag concept of a &#8216;canonical page&#8217; can also be indicated in a link rel attribute for an &lt;a&gt; tag.</p>
<p>Google is therefore inferring meaning from the implication of the tags that is more sophisticated than their original purpose of simply providing an alternative to a 301 redirect for webmasters who know they have a duplication issue.</p>
<p>This increased <em><strong>flexibility of interpretation</strong></em> is the area of optimisation that can immediately be taken advantage of.</p>
<p>Simply by combining these options, webmasters can now deliver re-purposed content targeting long tail terms that would otherwise struggle to perform with the minimum of supporting linkbuilding.</p>
<p>So just how does this work? Here is a practical example – we&#8217;ll look at a property website in order to spell out the process.</p>
<h2>A Semantic SEO Example</h2>
<p>The core content delivered in the day to day course of delivering an online property availability service is the individual property listing pages.</p>
<p>Before Google&#8217;s announcement of their more sophisticated handling of canonical tags, in order to build pages targeting long tail terms, unique content written around the terms would need to be produced for each of the terms &#8211; and when you&#8217;re targeting long tail, you&#8217;re targeting <em><strong>a lot</strong></em> of long tail terms to deliver sufficient traffic uplift.</p>
<p>So, lets say that 300 pages of 150 &#8211; 200 words of content is required to be researched and written.</p>
<p>This means that the CMS delivering the website would need to be adapted to deliver subsets of the main listing content that was relevant to the long tail terms, in order to combine and create a landing page that can both capture traffic and convert visitors with reasonable success.</p>
<p>Unfortunately, while a good strategy in principle, this approach is often shot down before it get started because of the resource-heavy content generation requirement and a feeling that the site quality is being &#8216;diluted&#8217; (a common client concern with this approach).</p>
<p>After all, if one of 300 or so targeted search terms is &#8216;Commercial Property to Let in Walthamstow&#8217; it&#8217;s unlikely that sufficient research will be undertaken to make it of use to searchers arriving on that term.</p>
<p>However, by setting the rel=&#8221;canonical&#8221; tag for pagination links to a &#8216;View all&#8217; page, Google will return the &#8216;View All&#8217; page for relevant top level search terms (&#8216;Commercial Property London&#8217;, say) and treat the paginated pages as non-duplicate for searches highly related to their specific content.</p>
<p>Meaning our &#8216;Commercial Property to let in Walthamstow&#8217; page can be targeted as a paginated page generated by a &#8216;Walthamstow&#8217; search filter, say, <em><strong>without requiring any additional unique content</strong></em>.</p>
<p>This means we can use the content production resource for more valuable site optimisation: such as revamping and improving content on high value keyphrase landing pages, developing linkbait worthy content, delivering better quality information on all listed properties, etc, etc.</p>
<p>Oh, and we might pick out a few of the longer tail terms to get special treatment when we know we have the resources to back up the generation of some top quality content.</p>
<p>So, who says we need to wait for &#8216;the Future of HTML&#8217;? Why wait? We&#8217;ve just optimised our site for HTML 5.</p>
<p>Neat.</p>
</div>
<h4>Incoming search terms:</h4><ul><li>html5 and seo</li><li>jw html5 sample</li><li>www schafkopf-spielen info</li></ul><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.html5samples.com%2F2011%2F10%2Fhtml-5-amazon-the-future-of-seo%2F&amp;title=HTML%205%2C%20Amazon%20and%20The%20Future%20of%20SEO" id="wpa2a_20"><img src="http://www.html5samples.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.html5samples.com/2011/10/html-5-amazon-the-future-of-seo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

