<?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>jc-designs.net &#187; html5</title>
	<atom:link href="http://jc-designs.net/blog/tag/html5/feed/" rel="self" type="application/rss+xml" />
	<link>http://jc-designs.net/blog</link>
	<description>jc-designs blog</description>
	<lastBuildDate>Mon, 16 Jan 2012 15:30:50 +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>How To Use HTML5 Video Tag &#8211; The Basics</title>
		<link>http://jc-designs.net/blog/2010/10/how-to-use-html5-video-tag-the-basics/</link>
		<comments>http://jc-designs.net/blog/2010/10/how-to-use-html5-video-tag-the-basics/#comments</comments>
		<pubDate>Tue, 05 Oct 2010 02:48:06 +0000</pubDate>
		<dc:creator>jcDesigns</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://jc-designs.net/blog/?p=578</guid>
		<description><![CDATA[Not as scary as I thought NOTE: I did have to configure my server so that the ogg MIME type would handle the .ogv extension. If you use Hostgator.com, this is easy. Let me know if you need help. You&#8217;ve all heard of the new HTML5 video tag, but if you are like me, you [...]]]></description>
			<content:encoded><![CDATA[<h3>Not as scary as I thought</h3>
<p><strong>NOTE: I did have to configure my server so that the ogg MIME type would handle the .ogv extension. If you use Hostgator.com, this is easy. Let me know if you need help.</strong></p>
<p>You&#8217;ve all heard of the new HTML5 video tag, but if you are like me, you have seen an example and were like wtf? I was, until a few days ago. It is actually pretty easy, and only takes a few minutes. There are some things you need before you actually get going with it:</p>
<ul>
<li>MP4 video file &#8211; for Webkit</li>
<li>ogv video file (Theora codec) &#8211; for Firefox</li>
<li>flv file &#8211; for everyone else</li>
<li>swfobject.js &#8211; for the swf</li>
</ul>
<p><span id="more-578"></span></p>
<h3>Be a convert</h3>
<p><img src="http://www.jc-designs.net/newimages/blogImages/miro.jpg" alt="Miro Video Converter screen" class="left" />First things first, you need a video converter. I don&#8217;t know about you, but I didn&#8217;t have anything that would convert a video file into either an MP4 or Theora format. I found a really damn good one though. It&#8217;s free, easy to use, and&#8230;wait, did I mention free? It&#8217;s called <a href="http://mirovideoconverter.com/">Miro Video Converter</a>, and I highly recommend downloading it (available for PC and OSX). If you look at the screenshot to the left, you will just how easy it is to use. You drag and drop your video into the middle square, select the output type, and hit convert (and it will convert a TON of different types). That&#8217;s it! So for the HTML5 video, you need to convert it once to MP4, and once to Theora.</p>
<h3>The actual code</h3>
<p>Let&#8217;s make a note here, that I am just doing something basic here to get the video working in all browsers. It is up to you to make it pretty. Here is the basic code:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;color: #439AD0; font-weight: bold;">&lt;video width=&quot;380&quot; height=&quot;216&quot; controls&gt;
  		  &lt;!-- used for HTML5 enabled browsers --&gt;
	    &lt;source src=&quot;video/video.mp4video&quot; type='video/mp4; codecs=&quot;avc1.42E01E, mp4a.40.2&quot;'&gt;
	    &lt;source src=&quot;video/video.theora.ogv&quot; type='video/ogg; codecs=&quot;theora, vorbis&quot;'&gt;
   		&lt;!-- fallback for non HTML5 users --&gt;
        &lt;p id='movie'&gt;In order to view this content you need to enable javascript in your browser.&lt;/p&gt;
	    &lt;script type='text/javascript' src='scripts/swfobject.js'&gt;&lt;/script&gt;
	    &lt;script type='text/javascript'&gt;
	       swfobject.addLoadEvent(function(){
&nbsp;
var flashvars = { };
&nbsp;
var params = { quality: &quot;high&quot;, wmode: &quot;transparent&quot; };
&nbsp;
swfobject.embedSWF(&quot;/demo/video/video.swf&quot;, &quot;movie&quot;, &quot;380&quot;, &quot;216&quot;, &quot;9.0.0&quot;, &quot;&quot;, flashvars, params);
});
	    &lt;/script&gt;
	&lt;/video&gt;</pre></div></div>

<p>What does all that do? I swear this is easy, so just pay attention. The first &#8216;source&#8217; tag is the location of the MP4 video on your site, while the second &#8216;source&#8217; tag is the location of the ogv file (Theora) on your site. So FF and Webkit will see these videos and play them no problem. But what about the other browsers? That is where swfobject.js and Flash come in. I&#8217;m assuming you know what to do with swfobject, because it has become the common way to get Flash onto a site.</p>
<p>If someone has javascript disabled, the &#8216;p&#8217; tag with the &#8216;id&#8217; of &#8216;movie&#8217;, will display and tell them they are stupid. If all is normal, then the swfobject replaces the tag with the swf file.</p>
<p><a href="http://www.jc-designs.net/demo/video.html">View Demo</a></p>
<h3>To recap</h3>
<p>For some reason, the HTML5 video tag was scaring me. But once I got it to work, I went&#8230;&#8221;That&#8217;s it? Well hell, I can do that!&#8221; I think you will, too. The main thing to remember is that you need four things to get it working: an MP4 video file, an ogv video file (Theora), the flv/swf, and <a href="http://code.google.com/p/swfobject/">swfoject.js</a>. I said four, but if you do not have a video converter, then it is five. Once you have those you can pretty much copy and paste the code above, and change the names/locations of the files.</p>
<h3>Something extra for you</h3>
<p>The player controls are a little bland, but there is a javascript plugin called <a href="http://videojs.com/">VideoJS</a> that will skin it if you want to. They have skins that mimic the popular video players out there, like youtube.</p>
<div class="gator">
<a  href="http://secure.hostgator.com/~affiliat/cgi-bin/affiliates/clickthru.cgi?id=jcDesigns-"><img src="http://tracking.hostgator.com/img/Shared/468x60.gif" border=0></a></p>
<p>Coupon Code: webmachine</p>
</div>
 <img src="http://jc-designs.net/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=578" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://jc-designs.net/blog/2010/10/how-to-use-html5-video-tag-the-basics/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>HTML5 Tags &#8211; Raise your hand if you are confused?</title>
		<link>http://jc-designs.net/blog/2010/08/html5-tags-raise-your-hand-if-you-are-confused/</link>
		<comments>http://jc-designs.net/blog/2010/08/html5-tags-raise-your-hand-if-you-are-confused/#comments</comments>
		<pubDate>Mon, 23 Aug 2010 18:21:21 +0000</pubDate>
		<dc:creator>jcDesigns</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[html5]]></category>

		<guid isPermaLink="false">http://jc-designs.net/blog/?p=512</guid>
		<description><![CDATA[How to Confuse a Developer 101 As you may know, I am building an HTML5/Wordpress theme using the HTML5 Boilerplate. I have no problems with it at all. What I do have problems with, is trying to figure out what tag to use, and where to use it. I&#8217;ve talked about this before, with the [...]]]></description>
			<content:encoded><![CDATA[<h3>How to Confuse a Developer 101</h3>
<p>As you may know, I am building an HTML5/Wordpress theme using the <a href="http://html5boilerplate.com/">HTML5 Boilerplate</a>. I have no problems with it at all. What I do have problems with, is trying to figure out what tag to use, and where to use it. I&#8217;ve talked about this before, with the &#8216;nav&#8217; and &#8216;address&#8217; tags. That was before I actually tried to build anything using the new HTML5 tags. Now that I am trying to use them, I find myself questioning if I am using the right tag!</p>
<p>HTML4 (whatever . version we are on) is not complicated. Wrap text blocks in &#8216;p&#8217; tags. Links get wrapped in &#8216;a&#8217; tags, and so on. All of which is easy to understand. There are no &#8216;ifs&#8217; or &#8216;sometimes&#8217; involved. After reading through some of the definitions for these new tags, I get the feeling that the interpretation of when to use them can be subjective. </p>
<p>You want to know how to confuse the hell out of all of us? Easy as pie. CHANGE THE TAG DEFINITIONS AS WE GO!</p>
<p><span id="more-512"></span></p>
<h3>ASIDE From that, everything makes sense&#8230;.oh wait, no it doesn&#8217;t</h3>
<p>Let&#8217;s take a quick look at the &#8216;aside&#8217; tag, a new HTML5 tag, that I am/was struggling with. Here is the definition PRIOR to the change, which if you are NOT careful when you are using Google to search, you might still get:</p>
<blockquote><p><em>The aside element represents a section of a page that consists of content that is tangentially related to the content around the aside  element, and which could be considered separate from that content. <strong>Such sections are often represented as sidebars in printed typography</strong>.</em></p></blockquote>
<p>Just from the word itself, &#8216;aside&#8217; brings to mind a &#8216;sidebar&#8217;, but through yet more reading I found that is not the case at all. It is more of a blockquote thing. Content that is related to the article it is in, but can stand alone by itself is what should be in the &#8216;aside&#8217; tags. At least that WAS the definition. After some people bitched,  apparently the spec writers listened and changed it. Thank God for <a href="http://html5doctor.com/aside-revisited/">this guy&#8217;s article</a>.</p>
<p>I found the new definition in that article, (authored by Mike Robinson), saying &#8220;hey, remember when we said this doesn&#8217;t mean &#8216;sidebar&#8217;? Nah, go ahead and do that.&#8221;</p>
<p>New definition for the &#8216;aside&#8217; tag&#8221;</p>
<blockquote><p>
When used within an article element, the contents should be specifically related to that article (e.g., a glossary). When used outside of an article element, the contents should be related to the site (e.g., a blogroll, groups of additional navigation, and even advertising if that content is related to the page).
</p></blockquote>
<p>MUCH clearer now. You just have to pay attention to where you are putting it. If it is in an &#8216;article&#8217; tag, then it must relate to the content of that article. If not, then it must be related to the site. Honestly, I can&#8217;t think of a time when something isn&#8217;t related to the site. Maybe just random links? If you know, let ME know.</p>
<h3>HTML5 sounds awesome, but is it ready?</h3>
<p>This has been discussed in plenty of articles, but I only remember seeing arguments against it because of browsers that don&#8217;t support it. Now that I am trying to build with it, it brings me to another point that I&#8217;ll have to go and search for, to see what others are really saying about it. </p>
<p>Is HTML5 even ready? Forget the browser issues. That part is obvious and has some work arounds. The real problem I see is that the tag definitions are NOT written in stone yet. The fact that a tag&#8217;s definition can change on the fly could mean wide spread misuse. I&#8217;ve already talked about how the <a href="http://jc-designs.net/blog/2010/05/html5-i-am-not-digging-it-at-all/">nav and address tags</a> can be hard to get a hold of. I&#8217;ve worked with it now for about 3 hours trying to use a bunch of new tags for semantics, and I am getting horribly confused.</p>
<p>I am not saying HTML5 is horrid. I will admit, that my article before was a bit premature. I am indeed digging it. Well, some of it. I just am not sure that it is ready to be used. Of course I&#8217;m not saying don&#8217;t, and certainly don&#8217;t wait till that silly 2022 year thing, which apparently has been misquoted according to <a href="http://html5doctor.com/2022-or-when-will-html-5-be-ready/">this</a>. But I want the definitions to be fairly stable.</p>
<h3>Final Thoughts</h3>
<p>Ok&#8230;I like HTML5. I like what it is trying to do. I am still worried about wide spread misuse of some tags, and I think my nav/address article still holds on that. My current and future projects will now incorporate the new tags, mainly so that I can learn them. I just don&#8217;t want to be called out on interpreting the definitions wrong.</p>
<p>What are your thoughts on HTML5 usage? Let&#8217;s hear some comments!</p>
<div class="gator">
<a  href="http://secure.hostgator.com/~affiliat/cgi-bin/affiliates/clickthru.cgi?id=jcDesigns-"><img src="http://tracking.hostgator.com/img/Shared/468x60.gif" border=0></a></p>
<p>Coupon Code: webmachine</p>
</div>
 <img src="http://jc-designs.net/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=512" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://jc-designs.net/blog/2010/08/html5-tags-raise-your-hand-if-you-are-confused/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML5 Boilerplate, Conditional Comments, and things to come</title>
		<link>http://jc-designs.net/blog/2010/08/html5-boilerplate-conditional-comments-and-things-to-come/</link>
		<comments>http://jc-designs.net/blog/2010/08/html5-boilerplate-conditional-comments-and-things-to-come/#comments</comments>
		<pubDate>Fri, 20 Aug 2010 04:05:44 +0000</pubDate>
		<dc:creator>jcDesigns</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Web Machine Updates]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[html5]]></category>

		<guid isPermaLink="false">http://jc-designs.net/blog/?p=506</guid>
		<description><![CDATA[The boiler room If you haven&#8217;t at least heard of the HTML5 Boilerplate template, then you live in a dark cave as a hermit and are still using Photoshop 3. If you have, but haven&#8217;t checked it out, then you 100% need to. I downloaded the files (it comes with a few) and looked through [...]]]></description>
			<content:encoded><![CDATA[<h3>The boiler room</h3>
<p>If you haven&#8217;t at least heard of the <a href="http://html5boilerplate.com/">HTML5 Boilerplate</a> template, then you live in a dark cave as a hermit and are still using Photoshop 3. If you have, but haven&#8217;t checked it out, then you 100% need to. I downloaded the files (it comes with a few) and looked through it. Thank the gods it is commented so well, because there are a few things that I didn&#8217;t know going on.</p>
<p>It is an HTML 5 starting template loaded to the teeth with everything you could need&#8230;and then some. Just some of the things in it are: script tags to jQuery 1.4.2 (hosted on Google), Modernizer 1.5 js (see comment below by Paul Irish clearing things up for me on this), Google analytics code, Meyer&#8217;s reset CSS, conditional comments&#8230;this thing is PACKED with awesome.</p>
<p><span id="more-506"></span><br />
Personally I&#8217;m going to remove some things, because I don&#8217;t need them, which is perfectly fine because this file is delete friendly. What I am going to add is <a href="http://css3pie.com/">CSS PIE</a>. But that is the brilliance of it. It&#8217;s a great starting point, and you can do what you want with it. So go download it!</p>
<h3>Conditional Commenting Genius</h3>
<p>Forget about using conditional stylesheets now. Use <a href="http://paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/">this</a>:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;color: #439AD0; font-weight: bold;"><span style="color: #339933;color: #439AD0;">&lt;!--</span><span style="color: #009900;color: #439AD0;">&#91;</span><span style="color: #000066; font-weight: bold;color: #439AD0;">if</span> lt IE <span style="color: #CC0000;color: #439AD0;">7</span> <span style="color: #009900;color: #439AD0;">&#93;</span><span style="color: #339933;color: #439AD0;">&gt;</span> <span style="color: #339933;color: #439AD0;">&lt;</span>body <span style="color: #003366; font-weight: bold;color: #439AD0;">class</span><span style="color: #339933;color: #439AD0;">=</span><span style="color: #3366CC;color: #439AD0;">&quot;ie6&quot;</span><span style="color: #339933;color: #439AD0;">&gt;</span> <span style="color: #339933;color: #439AD0;">&lt;!</span><span style="color: #009900;color: #439AD0;">&#91;</span>endif<span style="color: #009900;color: #439AD0;">&#93;</span><span style="color: #339933;color: #439AD0;">--&gt;</span>
<span style="color: #339933;color: #439AD0;">&lt;!--</span><span style="color: #009900;color: #439AD0;">&#91;</span><span style="color: #000066; font-weight: bold;color: #439AD0;">if</span> IE <span style="color: #CC0000;color: #439AD0;">7</span> <span style="color: #009900;color: #439AD0;">&#93;</span><span style="color: #339933;color: #439AD0;">&gt;</span>    <span style="color: #339933;color: #439AD0;">&lt;</span>body <span style="color: #003366; font-weight: bold;color: #439AD0;">class</span><span style="color: #339933;color: #439AD0;">=</span><span style="color: #3366CC;color: #439AD0;">&quot;ie7&quot;</span><span style="color: #339933;color: #439AD0;">&gt;</span> <span style="color: #339933;color: #439AD0;">&lt;!</span><span style="color: #009900;color: #439AD0;">&#91;</span>endif<span style="color: #009900;color: #439AD0;">&#93;</span><span style="color: #339933;color: #439AD0;">--&gt;</span>
<span style="color: #339933;color: #439AD0;">&lt;!--</span><span style="color: #009900;color: #439AD0;">&#91;</span><span style="color: #000066; font-weight: bold;color: #439AD0;">if</span> IE <span style="color: #CC0000;color: #439AD0;">8</span> <span style="color: #009900;color: #439AD0;">&#93;</span><span style="color: #339933;color: #439AD0;">&gt;</span>    <span style="color: #339933;color: #439AD0;">&lt;</span>body <span style="color: #003366; font-weight: bold;color: #439AD0;">class</span><span style="color: #339933;color: #439AD0;">=</span><span style="color: #3366CC;color: #439AD0;">&quot;ie8&quot;</span><span style="color: #339933;color: #439AD0;">&gt;</span> <span style="color: #339933;color: #439AD0;">&lt;!</span><span style="color: #009900;color: #439AD0;">&#91;</span>endif<span style="color: #009900;color: #439AD0;">&#93;</span><span style="color: #339933;color: #439AD0;">--&gt;</span>
<span style="color: #339933;color: #439AD0;">&lt;!--</span><span style="color: #009900;color: #439AD0;">&#91;</span><span style="color: #000066; font-weight: bold;color: #439AD0;">if</span> IE <span style="color: #CC0000;color: #439AD0;">9</span> <span style="color: #009900;color: #439AD0;">&#93;</span><span style="color: #339933;color: #439AD0;">&gt;</span>    <span style="color: #339933;color: #439AD0;">&lt;</span>body <span style="color: #003366; font-weight: bold;color: #439AD0;">class</span><span style="color: #339933;color: #439AD0;">=</span><span style="color: #3366CC;color: #439AD0;">&quot;ie9&quot;</span><span style="color: #339933;color: #439AD0;">&gt;</span> <span style="color: #339933;color: #439AD0;">&lt;!</span><span style="color: #009900;color: #439AD0;">&#91;</span>endif<span style="color: #009900;color: #439AD0;">&#93;</span><span style="color: #339933;color: #439AD0;">--&gt;</span>
<span style="color: #339933;color: #439AD0;">&lt;!--</span><span style="color: #009900;color: #439AD0;">&#91;</span><span style="color: #000066; font-weight: bold;color: #439AD0;">if</span> gt IE <span style="color: #CC0000;color: #439AD0;">9</span><span style="color: #009900;color: #439AD0;">&#93;</span><span style="color: #339933;color: #439AD0;">&gt;</span>  <span style="color: #339933;color: #439AD0;">&lt;</span>body<span style="color: #339933;color: #439AD0;">&gt;</span>             <span style="color: #339933;color: #439AD0;">&lt;!</span><span style="color: #009900;color: #439AD0;">&#91;</span>endif<span style="color: #009900;color: #439AD0;">&#93;</span><span style="color: #339933;color: #439AD0;">--&gt;</span>
<span style="color: #339933;color: #439AD0;">&lt;!--</span><span style="color: #009900;color: #439AD0;">&#91;</span><span style="color: #000066; font-weight: bold;color: #439AD0;">if</span> <span style="color: #339933;color: #439AD0;">!</span>IE<span style="color: #009900;color: #439AD0;">&#93;</span><span style="color: #339933;color: #439AD0;">&gt;&lt;!--&gt;</span> <span style="color: #339933;color: #439AD0;">&lt;</span>body<span style="color: #339933;color: #439AD0;">&gt;</span>         <span style="color: #339933;color: #439AD0;">&lt;!--&lt;!</span><span style="color: #009900;color: #439AD0;">&#91;</span>endif<span style="color: #009900;color: #439AD0;">&#93;</span><span style="color: #339933;color: #439AD0;">--&gt;</span></pre></div></div>

<p>This is great, because now you don&#8217;t need the extra CSS files for IE problems, and you don&#8217;t need to use hacks. For example, let&#8217;s say you have margin or something that is going bad in IE6. If the browser detected is IE6, then it puts the class &#8220;ie6&#8243; onto the body. You would then write the CSS like this:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;color: #439AD0; font-weight: bold;"><span style="color: #cc00cc;">#myContainer</span> <span style="color: #00AA00;color: #439AD0;">&#123;</span>
<span style="color: #000000; font-weight: bold;color: #439AD0;">margin</span><span style="color: #00AA00;color: #439AD0;">:</span> <span style="color: #933;">20px</span> <span style="color: #933;">20px</span> <span style="color: #cc66cc;color: #439AD0;">0</span> <span style="color: #933;">10px</span><span style="color: #00AA00;color: #439AD0;">;</span>
<span style="color: #00AA00;color: #439AD0;">&#125;</span>
<span style="color: #6666ff;color: #439AD0;">.ie6</span> <span style="color: #cc00cc;">#myContainer</span> <span style="color: #00AA00;color: #439AD0;">&#123;</span>
<span style="color: #000000; font-weight: bold;color: #439AD0;">margin</span><span style="color: #00AA00;color: #439AD0;">:</span> <span style="color: #933;">20px</span> <span style="color: #933;">10px</span> <span style="color: #cc66cc;color: #439AD0;">0</span> <span style="color: #933;">5px</span><span style="color: #00AA00;color: #439AD0;">;</span>
<span style="color: #00AA00;color: #439AD0;">&#125;</span></pre></div></div>

<p>Easy? YES. And awesome. Not much else to say about it other than start using this instead of whatever else you were doing, because this was better.</p>
<h3>Things to come at The Web Machine</h3>
<p>Well, as you may know from previous posts, I&#8217;m starting to learn how to theme Magento, which will come in handy, because I will be selling HTML/WordPress templates. Unique, not templates. Meaning only 1 of each will be sold. If you buy it, no one else will have it. Along with that I plan on writing more on Magento, maybe my own tutorial on how to theme it, or whatever strikes my fancy. Plus I am starting to FINALLY learn PHP, so I plan on throwing some articles on that here as well. More things to write about, so stay tuned folks!</p>
<p>What are you guys learning? Let me know!</p>
<div class="gator">
<a  href="http://secure.hostgator.com/~affiliat/cgi-bin/affiliates/clickthru.cgi?id=jcDesigns-"><img src="http://tracking.hostgator.com/img/Shared/468x60.gif" border=0></a></p>
<p>Coupon Code: webmachine</p>
</div>
 <img src="http://jc-designs.net/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=506" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://jc-designs.net/blog/2010/08/html5-boilerplate-conditional-comments-and-things-to-come/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>HTML5&#8230;I am not digging it at all&#8230;</title>
		<link>http://jc-designs.net/blog/2010/05/html5-i-am-not-digging-it-at-all/</link>
		<comments>http://jc-designs.net/blog/2010/05/html5-i-am-not-digging-it-at-all/#comments</comments>
		<pubDate>Tue, 11 May 2010 03:06:24 +0000</pubDate>
		<dc:creator>jcDesigns</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[html5]]></category>

		<guid isPermaLink="false">http://jc-designs.net/blog/?p=282</guid>
		<description><![CDATA[For the people who read the title and are going to moan about how awesome the video/audio tags are and what not, go read the ENTIRE article of the elements of HTML5&#8230;here is the link. Then come back and lets talk&#8230;mmmmmkay? Is it still awesome? I&#8217;m going to give you a &#8216;for instance&#8217; here. Let&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>For the people who read the title and are going to moan about how awesome the video/audio tags are and what not, go read the ENTIRE article of the elements of HTML5&#8230;here is the <a href="http://www.w3.org/TR/2010/WD-html5-20100304/semantics.html#the-section-element">link</a>.</p>
<p>Then come back and lets talk&#8230;mmmmmkay?</p>
<p>Is it still awesome? I&#8217;m going to give you a  &#8216;for instance&#8217; here. Let&#8217;s start with&#8230;the address tag. When you hear &#8220;address&#8221; tag, what do you think of? What would you put in this tag? Before you read that article, you probably thought &#8220;Well, the freakin&#8217; address you idiot!&#8221; Guess what though? You would be wrong. Quoted from the article:</p>
<p><em>&#8220;<strong>The address  element must not be used to represent arbitrary addresses</strong> (e.g. postal addresses), unless those addresses are in fact the relevant contact information. (The p  element is the appropriate element for marking up postal addresses in general.)&#8221;</em></p>
<p><span id="more-282"></span></p>
<p>Through a bunch of searching and head scratching I finally found an awesome example. Let&#8217;s say I create a page about contacting Senator Stupid about Health Care Issue #1, the address tag should contain MY contact information. Now let&#8217;s say Senator Stupid has his own page about Health Care Issue #1, then HIS contact information would go in the address tag.</p>
<p>Confusing? YES! The address tag is for information concerning the article/page whatever, NOT the postal address of whoever owns the site&#8230;or whatever. UNLESS of course it pertains to the article/page itself. STUPID! This kind of crap bugs me.</p>
<p>I thought HTML5 would be for people to read the actual HTML more easily. These new tags though (although I&#8217;ve read the address tag has been around since the beginning) have all these crazy rules. Like when you can use the aside tag, how to structure the sections so that it creates a specific outline, and other such craziness. If anything, HTML5 has complicated the HELL out of everything.</p>
<p>I guarantee that when this is fully adopted, 90% of the web developer population will be using half the tags in the wrong way. They will think, address tag, that MUST be where I put my address. The section is like the left side, the right side, top and bottom. The nav is for any navigations&#8230;</p>
<p>Wait&#8230;now you are thinking &#8220;Um&#8230;isn&#8217;t it?&#8221; Ya&#8230;.here&#8217;s another quote from the w3:</p>
<p>&#8220;<em>Not all groups of links on a page <strong>need</strong> to be in a nav  element — only sections that consist of major navigation blocks are appropriate for the nav  element. In particular, it is common for footers to have a short list of links to various pages of a site, such as the terms of service, the home page, and a copyright page. <strong>The footer  element alone is sufficient for such cases, without a nav  element.</strong></em>&#8221;</p>
<p>The word &#8220;need&#8221; there confuses the crap out of me. I want a yes or a no. Do I put all navigations in the nav tag or not?? Apparently if it is in the footer tag, you can do without it. So really, I am lead to believe that there is only one place for the nav tag, and that is the main navigation on the page. If I have 2 or 3 sub navigation areas, these apparently do NOT go in a nav tag. Do they? How many people do you think are going to read the w3 document? And how many nav tags do you think you will see on a bigger page? On the ones I work for at work, I can count at least 4 spots where someone would put that tag if they were not aware of the &#8220;rules.&#8221;</p>
<p>If you reaaally want to see how confused people are just on the address tag, go read and start laughing at the comments on this <a href="http://html5doctor.com/the-address-element/">article</a>.</p>
<p>When you have done that, you will realize NO ONE knows what the hell we are in for. I certainly don&#8217;t. After reading the w3 HTML5 page, I am scared that even they don&#8217;t know what they are talking about.</p>
<p>NOTE: I should have titled this &#8220;HTML5&#8230;why we are all f#@$ed!&#8221;</p>
 <img src="http://jc-designs.net/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=282" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://jc-designs.net/blog/2010/05/html5-i-am-not-digging-it-at-all/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

