<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>HTML5 Tags on HTML5 in 24 Hours</title>
    <link>https://www.html5in24hours.com/tags/html5-tags/</link>
    <description>HTML5 Tags on HTML5 in 24 Hours</description>
    <generator>Hugo</generator>
    <language>en-us</language><copyright>Jennifer Kyrnin</copyright><lastBuildDate>Fri, 14 Aug 2015 22:08:43 +0000</lastBuildDate>
    <atom:link href="https://www.html5in24hours.com/tags/html5-tags/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>HTML5 Cheat Sheet</title>
      <link>https://www.html5in24hours.com/posts/html5-cheat-sheet/</link>
      <pubDate>Fri, 14 Aug 2015 22:08:43 +0000</pubDate>
      <guid>https://www.html5in24hours.com/posts/html5-cheat-sheet/</guid><description>&lt;p&gt;I built an HTML5 cheat sheet for myself, so that I could make sure that my tag libraries were up-to-date and so on. And then when I finished, I realized that this might be something you would like too.&lt;/p&gt;&#xA;&lt;p&gt;It is a PDF file listing all the HTML5 elements, what they are and whether they are new, changed, the same as HTML 4 or gone from the specification (and what you should use instead). I hope you like it!&lt;/p&gt;&#xA;&lt;h2 id=&#34;html5-cheat-sheet-pdf&#34;&gt;&lt;a href=&#34;https://www.html5in24hours.com/html5-cheat-sheet.pdf&#34; title=&#34;HTML5 Cheat Sheet&#34;&gt;HTML5 Cheat Sheet&lt;/a&gt; PDF&lt;/h2&gt;&#xA;&lt;h3 id=&#34;comments&#34;&gt;Comments:&lt;/h3&gt;&#xA;&lt;h4&gt;&lt;/h4&gt;&#xA;&lt;p&gt;&lt;a href=&#34;%22jimward52@yahoo.com%22&#34;&gt;jim&lt;/a&gt; - Apr 2, 2013&lt;/p&gt;&#xA;&lt;p&gt;Awesome list! Thanks! One minor gripe, though: The section &amp;ldquo;Tags not in HTML5&amp;rdquo; is hard to read due to the dark gray background.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h4&gt;&lt;/h4&gt;&#xA;&lt;p&gt;&lt;a href=&#34;http://webdesign.about.com/&#34; title=&#34;jenn@html5in24hours.com&#34;&gt;Jennifer Kyrnin&lt;/a&gt; - May 0, 2013&lt;/p&gt;&#xA;&lt;p&gt;Thanks for the feedback. I&amp;rsquo;ll see if I can fix that.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h4&gt;&lt;/h4&gt;&#xA;&lt;p&gt;&lt;a href=&#34;%22dorianmattar@me.com%22&#34;&gt;Dorian Mattar&lt;/a&gt; - Nov 1, 2013&lt;/p&gt;&#xA;&lt;p&gt;Thanks for the cheatSheet, but I have a few comments. 1. Although it&amp;rsquo;s a &amp;ldquo;pdf&amp;rdquo;, it&amp;rsquo;s not a searchable pdf as it&amp;rsquo;s an image and not a true pdf. Not so much an issue because it&amp;rsquo;s alpha and only one page, but still it could have been&amp;hellip; 2. The resolution is also not optimum and when magnified for high-resolution monitors, it pixilates. A true pdf would also solve this issue. 3. There is no sample code for each tag, which would make this truly a great cheat sheet. Thanks, Dorian&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h4&gt;&lt;/h4&gt;&#xA;&lt;p&gt;&lt;a href=&#34;%22billwaddyjr@msn.com%22&#34;&gt;Bill Waddy&lt;/a&gt; - Apr 3, 2014&lt;/p&gt;&#xA;&lt;p&gt;Thanks for the cheat sheet.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h4&gt;&lt;/h4&gt;&#xA;&lt;p&gt;&lt;a href=&#34;%22viraj.lathigara@gmail.com%22&#34;&gt;Viraj Lathigara&lt;/a&gt; - Mar 4, 2016&lt;/p&gt;&#xA;&lt;p&gt;Thank you very much for this cheat sheet ! It had been very helpful to me and my friends ! Its my humble request to you to provide one more thing, We want sample codes for each and every tag. Hope you will help us !&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;</description>
    </item>
    <item>
      <title>Playing with Zeen - I created an HTML5 magazine</title>
      <link>https://www.html5in24hours.com/posts/playing-with-zeen-i-created-an-html5-magazine/</link>
      <pubDate>Thu, 30 Aug 2012 03:38:28 +0000</pubDate>
      <guid>https://www.html5in24hours.com/posts/playing-with-zeen-i-created-an-html5-magazine/</guid><description>&lt;p&gt;[caption id=&amp;ldquo;attachment_490&amp;rdquo; align=&amp;ldquo;aligncenter&amp;rdquo; width=&amp;ldquo;757&amp;rdquo;]&lt;a href=&#34;http://zeen.com/magazine/GSMgKn&#34; title=&#34;HTML5 Zeen&#34;&gt;&lt;img src=&#34;https://www.html5in24hours.com/images/html5-zeen.png&#34; alt=&#34;HTML5 Zeen&#34; title=&#34;HTML5 Zeen&#34;&gt;&lt;/a&gt; Latest issue of HTML5 Zine&lt;/p&gt;&#xA;&lt;p&gt;I&amp;rsquo;ve been playing with the new webzine creation tool: &lt;a href=&#34;http://zeen.com/&#34;&gt;Zeen&lt;/a&gt;. I&amp;rsquo;ve linked to several of my articles about HTML5 from &lt;a href=&#34;http://webdesign.about.com/&#34;&gt;About.com&lt;/a&gt;. I hope you enjoy my &lt;a href=&#34;http://zeen.com/magazine/GSMgKn&#34;&gt;first issue&lt;/a&gt;.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>What is ugly HTML?</title>
      <link>https://www.html5in24hours.com/posts/what-is-ugly-html/</link>
      <pubDate>Thu, 28 Jun 2012 00:02:11 +0000</pubDate>
      <guid>https://www.html5in24hours.com/posts/what-is-ugly-html/</guid><description>&lt;p&gt;Yesterday, someone asked me the question:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;“What is ugly HTML?”&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;And I realized that this isn&amp;rsquo;t necessarily an obvious thing. HTML is often ugly simply because of how it looks, this mostly centers around readability for me:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;All one line and/or minified This is very popular with minimalists and people who are very concerned with the speed of their pages. Minifying the code is a technique to remove all extraneous spaces, new lines, and characters to keep the HTML as small and streamlined as possible. Yes, this does speed up the pages, and I even recommend that you do it, but I really hate looking at it. It&amp;rsquo;s ugly.&lt;/li&gt;&#xA;&lt;li&gt;Too little formatting (and too much) By formatting, I mean the tabs and new lines that make the HTML easier to read. This is similar to the first item in this list, but I think we should take this further and include too much formatting as well. I have seen pages where there are two or three nested tables, and every single table row and column is indented from the container. This can get insanely hard to read after a while. e.g.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;table&amp;gt;   &amp;lt;tr&amp;gt;     &amp;lt;td&amp;gt;       &amp;lt;table&amp;gt;         &amp;lt;tr&amp;gt;           &amp;lt;td&amp;gt;             &amp;lt;table&amp;gt;               &amp;lt;tr&amp;gt;                 &amp;lt;td&amp;gt;                   …&lt;/code&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;All caps HTML Yes, this is valid in HTML5 (and HTML 4), but it&amp;rsquo;s ugly and hard to read. I think some people do it so that they can see the tags more quickly, but although you can see the tags, it&amp;rsquo;s hard to differentiate them at times. I recommend &lt;a href=&#34;http://webdesign.about.com/od/fonts/qt/all-caps-is-bad-typography.htm&#34; title=&#34;All Caps Make Bad Headlines&#34;&gt;avoiding all caps for headlines&lt;/a&gt; because they are hard to read, and the same goes for HTML tags. If you need to edit the HTML later, it can be that much harder to find the problem if they are all in capital letters. &lt;/li&gt;&#xA;&lt;li&gt;Invalid HTML This is the ugliest HTML of all because it can make a page show up incorrectly at the most inopportune times. It&amp;rsquo;s not a difficult thing to validate your HTML (I like the &lt;a href=&#34;http://validator.w3.org/&#34; title=&#34;HTML Validation Service from the W3C&#34;&gt;W3C validator&lt;/a&gt;, myself) and this can save you so much time in the future. &lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Then there is the ugly HTML because it&amp;rsquo;s using old-fashioned methods:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Too many DIVs It&amp;rsquo;s like when people learned CSS for layout they only learned to put the CSS on one tag &amp;ndash; the DIV element. So every block of text, every image, everything on the page is surrounded by one or more DIVs. Yes, this is technically correct. Yes, it works. But man, it&amp;rsquo;s ugly. It provides no extra information about the content beyond that it&amp;rsquo;s a block that might have some styles applied to it. I particularly hate when they add the styles to a DIV that is surrounding another, perfectly functional block-level element like a UL element. Why not style the UL? Save yourself a few characters!&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;I hate it when people add spaces using  Just like the above, it works, and it makes the page look like you want, but really, that&amp;rsquo;s what CSS is for. There is this wonderful property: margin, that you can use to set the margins around any element &amp;ndash; and rather than relying on the space set by a paragraph tag, you can define it to exactly the size you want.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;I hate it even more when people use tons of &lt;code&gt;&amp;lt;BR&amp;gt;&lt;/code&gt; elements in a row&lt;/p&gt;&#xA;&lt;p&gt;Yes, it shoves things down, but just like the above item, the margin property works better and takes up less download time.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Hiding content in strange places One site I visited once used the title attribute as a way to hide content. When you moused over certain sections of the page, the title content would show up. But the browser I was using showed the title content in a little yellow box as well, often covering the very content that the designer was trying to place. Use JavaScript and place the content in the page. HTML5 even offers a hidden attribute that you can toggle on and off if you want the content to appear and disappear.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;what-do-you-think-makes-ugly-html-or-does-the-html-not-matter-as-long-as-the-page-looks-good&#34;&gt;What do you think makes ugly HTML? Or does the HTML not matter as long as the page looks good?&lt;/h2&gt;&#xA;&lt;h3 id=&#34;comments&#34;&gt;Comments:&lt;/h3&gt;&#xA;&lt;h4&gt;&lt;/h4&gt;&#xA;&lt;p&gt;&lt;a href=&#34;%22skhatoon@yahoo.com%22&#34;&gt;Sofia Khatoon&lt;/a&gt; - Oct 5, 2012&lt;/p&gt;&#xA;&lt;p&gt;Thanks for a wonderful book on this topic. Just noticed spelling &amp;ldquo;Reset Default Foont Size&amp;rdquo; in companion web site on Hour 6. Also wanted to ask if you can share samples of styles-320.css which makes the puzzle page appear in two column in the book.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h4&gt;&lt;/h4&gt;&#xA;&lt;p&gt;&lt;a href=&#34;http://webdesign.about.com/&#34; title=&#34;htmljenn@gmail.com&#34;&gt;Jennifer Kyrnin&lt;/a&gt; - Jan 5, 2013&lt;/p&gt;&#xA;&lt;p&gt;I&amp;rsquo;ll look for these and get them up on the site. Thanks for the compliment.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;</description>
    </item>
    <item>
      <title>Learn the New HTML5 Elements</title>
      <link>https://www.html5in24hours.com/posts/new-html5-elements/</link>
      <pubDate>Tue, 17 Apr 2012 17:57:12 +0000</pubDate>
      <guid>https://www.html5in24hours.com/posts/new-html5-elements/</guid><description>&lt;p&gt;One of the first things you want to learn when you start learning HTML5 are the new elements. There are several new HTML5 elements to add new features and functionality to HTML5.&lt;/p&gt;&#xA;&lt;h2 id=&#34;new-html5-elements&#34;&gt;New HTML5 Elements&lt;/h2&gt;&#xA;&lt;h3 id=&#34;document-metadata&#34;&gt;Document Metadata&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;meta charset&lt;/code&gt;&lt;br&gt;&#xA;This is a new, shortened form of the character set meta data. It was added to the specification because web designers were writing the original character set meta tag incorrectly and browsers were supporting it.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;sections&#34;&gt;Sections&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;section&lt;/code&gt;&lt;br&gt;&#xA;A discrete section of the document.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;nav&lt;/code&gt;&lt;br&gt;&#xA;Navigation.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;article&lt;/code&gt;&lt;br&gt;&#xA;An article or page section that could be syndicated.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;aside&lt;/code&gt;&lt;br&gt;&#xA;A page section that is tangentially related to either the current page or the site as a whole.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;hgroup&lt;/code&gt;&lt;br&gt;&#xA;A group of headings.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;header&lt;/code&gt;&lt;br&gt;&#xA;The header information for a section or page.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;footer&lt;/code&gt;&lt;br&gt;&#xA;The footer information for a section or page.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;grouping-content&#34;&gt;Grouping Content&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;figure&lt;/code&gt;&lt;br&gt;&#xA;Content that is self-contained and referenced as a single unit within the flow of the page.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;figcaption&lt;/code&gt;&lt;br&gt;&#xA;A caption for a figure.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;text-level-semantics&#34;&gt;Text-level Semantics&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;data&lt;/code&gt;&lt;br&gt;&#xA;Contents that have a machine-readable format that is defined in the &lt;code&gt;value&lt;/code&gt; attribute.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;time&lt;/code&gt;&lt;br&gt;&#xA;A date or time with a machine-readable format defined in the &lt;code&gt;datetime&lt;/code&gt; attribute.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;mark&lt;/code&gt;&lt;br&gt;&#xA;A block of text that is highlighted for some purpose beyond the context of the current page.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;ruby&lt;/code&gt;&lt;br&gt;&#xA;Ruby annotation used in some double-byte languages.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;rt&lt;/code&gt;&lt;br&gt;&#xA;Ruby text.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;rp&lt;/code&gt;&lt;br&gt;&#xA;Ruby parenthesis.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;bdi&lt;/code&gt;&lt;br&gt;&#xA;A span of text separate from the page contents for bi-directional formatting.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;wbr&lt;/code&gt;&lt;br&gt;&#xA;A line break opportunity.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;embedded-content&#34;&gt;Embedded Content&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;embed&lt;/code&gt;&lt;br&gt;&#xA;The insertion point for embedded content.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;video&lt;/code&gt;&lt;br&gt;&#xA;An embedded video with it’s associated source files and language tracks.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;audio&lt;/code&gt;&lt;br&gt;&#xA;An embedded audio file with it’s associated source files.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;source&lt;/code&gt;&lt;br&gt;&#xA;Source file for embedded video or audio.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;track&lt;/code&gt;&lt;br&gt;&#xA;Supplementary tracks for captioning or secondary audio tracks on videos.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;canvas&lt;/code&gt;&lt;br&gt;&#xA;A scriptable bitmap area for creating images and animations on a web page.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;forms&#34;&gt;Forms&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;input type=search&lt;/code&gt;&lt;br&gt;&#xA;A search box text field.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;input type=tel&lt;/code&gt;&lt;br&gt;&#xA;A telephone number input field.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;input type=url&lt;/code&gt;&lt;br&gt;&#xA;A URL input field.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;input type=email&lt;/code&gt;&lt;br&gt;&#xA;An email address input field.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;input type=datetime&lt;/code&gt;&lt;br&gt;&#xA;A date and time input field.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;input type=date&lt;/code&gt;&lt;br&gt;&#xA;A date input field.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;input type=month&lt;/code&gt;&lt;br&gt;&#xA;A month input field.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;input type=week&lt;/code&gt;&lt;br&gt;&#xA;A week of the year input field.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;input type=time&lt;/code&gt;&lt;br&gt;&#xA;A time input field.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;input type=datetime-local&lt;/code&gt;&lt;br&gt;&#xA;A local date and time input field.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;input type=number&lt;/code&gt;&lt;br&gt;&#xA;A number input field.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;input type=range&lt;/code&gt;&lt;br&gt;&#xA;An inexact number input field.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;input type=color&lt;/code&gt;&lt;br&gt;&#xA;A color input field.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;datalist&lt;/code&gt;&lt;br&gt;&#xA;A list of pre-defined options for an input field.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;keygen&lt;/code&gt;&lt;br&gt;&#xA;A key pair generator control.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;output&lt;/code&gt;&lt;br&gt;&#xA;Scripted form output.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;progress&lt;/code&gt;&lt;br&gt;&#xA;The completed progress of a task.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;meter&lt;/code&gt;&lt;br&gt;&#xA;A scalar value within a known range.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;interactive-elements&#34;&gt;Interactive Elements&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;details&lt;/code&gt;&lt;br&gt;&#xA;An element where the user can get additional information.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;summary&lt;/code&gt;&lt;br&gt;&#xA;A caption or legend explaining the parent &lt;code&gt;details&lt;/code&gt; element.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;command&lt;/code&gt;&lt;br&gt;&#xA;A command that the user can invoke.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;menu&lt;/code&gt;&lt;br&gt;&#xA;A list of commands.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;dialog&lt;/code&gt;&lt;br&gt;&#xA;A part of an application that the user interacts with such as a dialog box.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;</description>
    </item>
    <item>
      <title>Drag and Drop upload–the final step</title>
      <link>https://www.html5in24hours.com/posts/drag-and-drop-uploadthe-final-step/</link>
      <pubDate>Mon, 09 Apr 2012 13:00:45 +0000</pubDate>
      <guid>https://www.html5in24hours.com/posts/drag-and-drop-uploadthe-final-step/</guid><description>&lt;p&gt;Many tutorials on drag and drop with HTML5 do everything but the actual upload step. This is because that step requires server interaction and scripting–you can’t just use JavaScript. But the HTML5 Doctors have a way to use XHR2 (xmlHttpRequest) to get the upload done too! &lt;a href=&#34;http://feedproxy.google.com/~r/html5doctor/~3/7qugHt-2cng/&#34;&gt;Drag and Drop and Automatically Send to Server&lt;/a&gt;&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>The TIME Element Has Been Removed in Favor of DATA</title>
      <link>https://www.html5in24hours.com/posts/the-time-element-has-been-removed-in-favor-of-data/</link>
      <pubDate>Thu, 03 Nov 2011 00:03:32 +0000</pubDate>
      <guid>https://www.html5in24hours.com/posts/the-time-element-has-been-removed-in-favor-of-data/</guid><description>&lt;p&gt;As of October 29th there is a new element in HTML5: &lt;code&gt;DATA&lt;/code&gt;. The &lt;code&gt;DATA&lt;/code&gt; element is for defining content that has both human- and computer-readable data. Some examples of this are:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Dates and times&lt;/li&gt;&#xA;&lt;li&gt;Numbers&lt;/li&gt;&#xA;&lt;li&gt;Colors&lt;/li&gt;&#xA;&lt;li&gt;Money&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Each of these can be written in a way that a human will understand, while a computer might not. For example, a date can be written December 16th, Dec 16, 12/16/11, 16 December, and many other ways. While it is possible to teach computers to know that all those things are dates and what they meant. So you can set the value of a date on a data element with a standard format that computers can read.&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;data value=“2011-12-16”&amp;gt;December 16th&amp;lt;/data&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;With the &lt;code&gt;DATA&lt;/code&gt; element and its required attribute &lt;code&gt;value&lt;/code&gt; you can define data for microformats and microdata as well as for scripts on your web page. The content displays in a format that humans appreciate and the &lt;code&gt;value&lt;/code&gt; attribute has the content in a format that computers can read and use.&lt;/p&gt;&#xA;&lt;h3 id=&#34;the-data-element-replaces-the-time-element&#34;&gt;The &lt;code&gt;DATA&lt;/code&gt; Element Replaces the &lt;code&gt;TIME&lt;/code&gt; Element&lt;/h3&gt;&#xA;&lt;p&gt;In the same revision to the HTML5 specification that brought us the &lt;code&gt;DATA&lt;/code&gt; element, it also removed the &lt;code&gt;TIME&lt;/code&gt; element from the specification. While you might be disappointed, this is really a good thing. The &lt;code&gt;TIME&lt;/code&gt; element was limited only to date and time formats and as such had a limited scope. With the &lt;code&gt;DATA&lt;/code&gt; element you can mark up all sorts of things that can be defined in both human- and computer-readable formats, you are not just limited to dates and times.&lt;/p&gt;&#xA;&lt;h3 id=&#34;how-this-affects-the-book&#34;&gt;How This Affects the Book&lt;/h3&gt;&#xA;&lt;p&gt;I submitted my final revision of the book on October 25, 2011—four days before this change went into effect. The book covers the &lt;code&gt;TIME&lt;/code&gt; element, but does not include the &lt;code&gt;DATA&lt;/code&gt; element.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>Using HTML5 Video and Audio</title>
      <link>https://www.html5in24hours.com/posts/using-html5-video-and-audio/</link>
      <pubDate>Fri, 21 Oct 2011 19:10:03 +0000</pubDate>
      <guid>https://www.html5in24hours.com/posts/using-html5-video-and-audio/</guid><description>&lt;p&gt;On my &lt;a href=&#34;http://About.com&#34;&gt;About.com&lt;/a&gt; site I wrote an 11-page article explaining &lt;a href=&#34;http://webdesign.about.com/od/video/ss/html5-video.htm&#34;&gt;how to add video using HTML5&lt;/a&gt; with fallback options for Internet Explorer. I also have a similar (although a lot shorter) article on &lt;a href=&#34;http://webdesign.about.com/od/sound/qt/add-sound-html5-audio-element.htm&#34;&gt;how to add sound with HTML5&lt;/a&gt;. And I get a lot of emails about them saying “I tried this in _____ browser and it didn’t work.” And I’m expecting to get the same type of feedback from chapter 12 when the book comes out.&lt;/p&gt;&#xA;&lt;p&gt;Now, I admit, I am human. I make mistakes and things get munged in publishing and so on. I tested both the articles on About and the chapter code extensively, as did my technical editors. And I’m confident that it works in modern web browsers, even Internet Explorer.&lt;/p&gt;&#xA;&lt;h3 id=&#34;follow-the-steps-precisely&#34;&gt;Follow the Steps Precisely&lt;/h3&gt;&#xA;&lt;p&gt;The video article is especially tough because it’s so long. Who wants to wade through 11 pages of stuff just to post a video? Wouldn’t we all rather be shooting our films instead? But none of the pages are in there as fluff. If you want your video to work in modern HTML5 compliant browsers as well as Internet Explorer 8, then you need to read and do them all. And I can tell by my statistics that people aren’t doing that. In fact, while the first most popular page is page 1, the next most popular is page 5. Page 9 (where you make it compliant with IE) is only 1/2 as popular as page 5.&lt;/p&gt;&#xA;&lt;p&gt;The thing is—this stuff is &lt;em&gt;very&lt;/em&gt; picky. You have to follow the steps exactly, or it won’t work. In fact, it took me a long time and many trials and lots of errors before I could get it working well enough to write the articles and chapter. This means that it can be very frustrating.&lt;/p&gt;&#xA;&lt;p&gt;In my opinion, the frustration is made up for by the benefits you get from using HTML5 for video and audio. You may disagree.&lt;/p&gt;&#xA;&lt;h3 id=&#34;and-if-you-do-find-an-error&#34;&gt;And if You Do Find an Error…&lt;/h3&gt;&#xA;&lt;p&gt;Please let me know. As I said above, I’m human, and I do make mistakes. But I can’t fix them if I don’t know about them, and since I tested it I think it works as I wrote it. So I don’t know about any errors. Please don’t hesitate to let me know about problems with the articles or the book when you find them. I’d really appreciate it and it might even help you get your video and audio working!&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>Do you want to solve an HTML5 puzzle?</title>
      <link>https://www.html5in24hours.com/posts/do-you-want-to-solve-an-html5-puzzle/</link>
      <pubDate>Mon, 06 Jun 2011 01:59:58 +0000</pubDate>
      <guid>https://www.html5in24hours.com/posts/do-you-want-to-solve-an-html5-puzzle/</guid><description>&lt;p&gt;&lt;a href=&#34;https://www.html5in24hours.com/examples/drag-and-drop-puzzle.html&#34;&gt;&lt;img src=&#34;https://www.html5in24hours.com/images/drag-and-drop-puzzle-291x300.png&#34; alt=&#34;HTML5 Drag and Drop Puzzle&#34; title=&#34;HTML5 Drag and Drop Puzzle&#34;&gt;&lt;/a&gt;I&amp;rsquo;ve been working on HTML5 drag and drop this week, and I&amp;rsquo;ve created a simple puzzle that you can play with in any HTML5 browser: &lt;a href=&#34;https://www.html5in24hours.com/examples/drag-and-drop-puzzle.html&#34;&gt;HTML5 Drag and Drop Puzzle&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Yes, it&amp;rsquo;s a pretty easy puzzle, but I do like this photo of my dogs. And it shows you how you can implement HTML5 drag and drop. The full instructions will be in &lt;a href=&#34;https://www.html5in24hours.com/the-book/html5-toc/&#34;&gt;Hour 16&lt;/a&gt; of &lt;a href=&#34;https://www.html5in24hours.com/the-book/&#34;&gt;the book&lt;/a&gt;&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>HTML5 Speech Input Added to Chrome</title>
      <link>https://www.html5in24hours.com/posts/html5-speech-input-added-to-chrome/</link>
      <pubDate>Thu, 28 Apr 2011 01:51:07 +0000</pubDate>
      <guid>https://www.html5in24hours.com/posts/html5-speech-input-added-to-chrome/</guid><description>&lt;p&gt;The latest version of Chrome now adds support for speech input. This gives you the opportunity to let your readers actually talk to your applications and web pages, rather than be forced to type.&lt;/p&gt;&#xA;&lt;p&gt;While this might not seem terribly useful, there are very useful applications, such as:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;speak words to translate or get a definition&lt;/li&gt;&#xA;&lt;li&gt;ask for directions of a map&lt;/li&gt;&#xA;&lt;li&gt;hands-free browsing&lt;/li&gt;&#xA;&lt;li&gt;zooming and panning with voice commands&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;I don&amp;rsquo;t know about you, but I have a vision of an HTML5 application where I could upload a photo, and then just say &amp;ldquo;zoom&amp;rdquo; and &amp;ldquo;enhance&amp;rdquo; and zoom in on the photo, like &lt;a href=&#34;http://www.youtube.com/watch?v=Vxq9yj2pVWk&amp;amp;feature=youtube_gdata_player&#34;&gt;all those TV shows do&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;And to do it, you just add a &lt;code&gt;speech&lt;/code&gt; attribute to the &lt;code&gt;&amp;lt;input&amp;gt;&lt;/code&gt; tag. For example:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;input type=text speech id=spoken-input&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Of course, to get it to work in Chrome you have to use the Webkit extension as well:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;input type=text x-webkit-speech=x-webkit-speech speech id=&amp;quot;spoken-input&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;I&amp;rsquo;ve got a simple working (if you&amp;rsquo;re on Chrome) example &lt;a href=&#34;https://www.html5in24hours.com/examples/speech-input-example.html&#34;&gt;here&lt;/a&gt;.&lt;/p&gt;&#xA;</description>
    </item>
  </channel>
</rss>
