<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Beginning HTML5 on HTML5 in 24 Hours</title>
    <link>https://www.html5in24hours.com/tags/beginning-html5/</link>
    <description>Beginning HTML5 on HTML5 in 24 Hours</description>
    <generator>Hugo</generator>
    <language>en-us</language><copyright>Jennifer Kyrnin</copyright><lastBuildDate>Fri, 09 Feb 2018 17:32:43 +0000</lastBuildDate>
    <atom:link href="https://www.html5in24hours.com/tags/beginning-html5/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Force a Download with HTML5</title>
      <link>https://www.html5in24hours.com/posts/force-a-download/</link>
      <pubDate>Fri, 09 Feb 2018 17:32:43 +0000</pubDate>
      <guid>https://www.html5in24hours.com/posts/force-a-download/</guid><description>&lt;p&gt;HTML5 is the greatest version of HTML ever! (Well, at least until the next awesome version comes out). I just learned how trivially easy it is to force downloads with HTML5.&lt;/p&gt;&#xA;&lt;p&gt;I was just trying to force a download of a PDF file because the customers need to sign it and send it back and it’s harder to do that online. I was going to use JavaScript, but decided that I’d do a quick search in case there was a better way.&lt;/p&gt;&#xA;&lt;h3 id=&#34;forcing-downloads-is-easyhtml5-to-the-rescue&#34;&gt;Forcing Downloads is Easy—HTML5 to the Rescue!&lt;/h3&gt;&#xA;&lt;p&gt;Not only is there a better way, but it’s trivially easy to implement. I just add the keyword &lt;code&gt;download&lt;/code&gt; to my anchor and &lt;strong&gt;BAM!&lt;/strong&gt; the browser will pop a dialog box. I haven’t tested it in a lot of browsers (or devices), but it’s still huge! I mean, as a fallback I can attach a download function only to links that have the &lt;code&gt;download&lt;/code&gt; keyword in them.&lt;/p&gt;&#xA;&lt;p&gt;Now my download links look like this:&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;lt;a href=&amp;#34;link to file&amp;#34; download=&amp;#34;&amp;#34;&amp;gt;Download the PDF&amp;lt;/a&amp;gt;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;I’m practically crying, I love HTML5 so much!!!&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>A Busy Week</title>
      <link>https://www.html5in24hours.com/posts/a-busy-week/</link>
      <pubDate>Mon, 31 Aug 2015 03:06:24 +0000</pubDate>
      <guid>https://www.html5in24hours.com/posts/a-busy-week/</guid><description>&lt;p&gt;I spent the last week working on two projects: the &amp;ldquo;&lt;a href=&#34;https://www.html5in24hours.com/books/html-and-css-livelessons/&#34;&gt;Learning HTML and CSS Livelessons&lt;/a&gt;&amp;rdquo; and editing the &lt;em&gt;&lt;a href=&#34;https://www.html5in24hours.com/books/teach-yourself-bootstrap-in-24-hours/&#34;&gt;Sams Teach Yourself Bootstrap in 24 Hours&lt;/a&gt;&lt;/em&gt; book.&lt;/p&gt;&#xA;&lt;p&gt;It was both one of the most fun weeks I&amp;rsquo;ve ever spent and also one of the scariest (at least at first). I have never been in front of a camera before, and I spent 6-8 hours a day on Monday through Wednesday right there. Luckily Pete and his dog Shorty were there to put me at ease. It ended up being a lot of fun.&lt;/p&gt;&#xA;&lt;p&gt;Now, of course, I have a bunch more work to both catch up from being gone for several days and some update work to get the website ready for the videos. This LiveLessons series is intended to help people learn enough HTML and CSS to get a website up and running and looking good. I&amp;rsquo;m hoping that if this project does well, I can do another on something like CSS to go into more depth on how to use CSS and style really fancy pages.&lt;/p&gt;&#xA;&lt;p&gt;[caption id=&amp;ldquo;attachment_1135&amp;rdquo; align=&amp;ldquo;alignleft&amp;rdquo; width=&amp;ldquo;150&amp;rdquo;]&lt;a href=&#34;https://www.html5in24hours.com/images/978-0672337048.jpeg&#34;&gt;&lt;img src=&#34;https://www.html5in24hours.com/images/978-0672337048-150x150.jpeg&#34; alt=&#34;Sams Teach Yourself Bootstrap in 24 Hours&#34;&gt;&lt;/a&gt; Sams Teach Yourself Bootstrap in 24 Hours  And I also got the first 50% of the technical and copy edits for the Bootstrap book. And I got the second 50% right after I got back. I&amp;rsquo;m hoping the second half is fairly error free (as far as we have found) like the first half. And as always, any errors that make it into the final book are my fault not my copy editor or tech editor (thanks &lt;a href=&#34;http://www.myhappysahdlife.com/&#34;&gt;Jon&lt;/a&gt;!)&lt;/p&gt;&#xA;&lt;p&gt;One of the biggest challenges of writing a book about Bootstrap is that I find myself wanting to convert every site I look at to Bootstrap. I finally upgraded this site to Bootstrap just this week. And I&amp;rsquo;ve converted a couple of other sites I manage as well. But let me tell you, even as the author of the book, my clients don&amp;rsquo;t all want to do a huge redesign just because Bootstrap rocks. Oh well, their loss.&lt;/p&gt;&#xA;&lt;h2 id=&#34;whats-next&#34;&gt;What&amp;rsquo;s Next?&lt;/h2&gt;&#xA;&lt;p&gt;My next project is finishing up a book on web publishing. That should be fun, and hopefully pretty quick. After that, who knows? If you have any ideas, let me know!&lt;/p&gt;&#xA;&lt;p&gt;amzn_assoc_placement = &amp;ldquo;adunit0&amp;rdquo;; amzn_assoc_enable_interest_ads = &amp;ldquo;true&amp;rdquo;; amzn_assoc_tracking_id = &amp;ldquo;kyrnindesign-20&amp;rdquo;; amzn_assoc_ad_mode = &amp;ldquo;auto&amp;rdquo;; amzn_assoc_ad_type = &amp;ldquo;smart&amp;rdquo;; amzn_assoc_marketplace = &amp;ldquo;amazon&amp;rdquo;; amzn_assoc_region = &amp;ldquo;US&amp;rdquo;; amzn_assoc_linkid = &amp;ldquo;4e58e504a77bddbf022bf0fe2039d151&amp;rdquo;; amzn_assoc_emphasize_categories = &amp;ldquo;13900871,2238192011,1064954&amp;rdquo;;&lt;/p&gt;&#xA;</description>
    </item>
    <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>HTML for RWD—Learn the HTML You Need in a Free Chapter</title>
      <link>https://www.html5in24hours.com/freebies/html-for-rwdlearn-the-html-you-need-in-a-free-chapter/</link>
      <pubDate>Mon, 11 May 2015 16:09:24 +0000</pubDate>
      <guid>https://www.html5in24hours.com/freebies/html-for-rwdlearn-the-html-you-need-in-a-free-chapter/</guid><description>&lt;h2 id=&#34;from-sams-teach-yourself-responsive-web-design-with-html5-and-css3-in-24-hours&#34;&gt;from: Sams Teach Yourself Responsive Web Design with HTML5 and CSS3 in 24 Hours&lt;/h2&gt;&#xA;&lt;p&gt;&lt;a href=&#34;http://www.amazon.com/gp/product/0672338386/ref=as_li_qf_sp_asin_tl?ie=UTF8&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=0672338386&amp;amp;linkCode=as2&amp;amp;tag=kyrnindesign-20&#34;&gt;&lt;img src=&#34;images/styrwd-cover-150x150.jpg&#34; alt=&#34;&#34;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;While responsive web design uses CSS to adjust web designs to respond to the devices viewing the page, you need to start with good HTML. Chapter 5 of my latest book &lt;em&gt;Sams Teach Yourself Responsive Web Design in 24 Hours&lt;/em&gt; helps you learn the basics of HTML so that you&amp;rsquo;re ready to create a responsive website.&lt;/p&gt;&#xA;&lt;p&gt;In chapter 5, you will learn:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;How to write HTML for RWD&lt;/li&gt;&#xA;&lt;li&gt;How to build a basic web page with HTML5&lt;/li&gt;&#xA;&lt;li&gt;What semantic elements are and how to use them&lt;/li&gt;&#xA;&lt;li&gt;Why valid HTML is important&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;And &lt;strong&gt;&lt;a href=&#34;http://www.informit.com/articles/article.aspx?p=2268249&#34;&gt;this chapter is available for free&lt;/a&gt;&lt;/strong&gt; on the Informit website.&lt;/p&gt;&#xA;&lt;p&gt;Note that if you&amp;rsquo;re a complete novice to HTML, this chapter will only be a starting place. It&amp;rsquo;s intended as an introduction to the minimum HTML you might need to do RWD. If you need to learn HTML, you should check out my first Sams book: &lt;em&gt;Sams Teach Yourself HTML5 in 24 Hours&lt;/em&gt; (&lt;a href=&#34;https://www.html5in24hours.com/books/ordering-information/&#34;&gt;get a copy&lt;/a&gt;).&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>HTML5 Allows Tables for Layout</title>
      <link>https://www.html5in24hours.com/posts/html5-allows-tables-layout/</link>
      <pubDate>Tue, 16 Sep 2014 00:08:32 +0000</pubDate>
      <guid>https://www.html5in24hours.com/posts/html5-allows-tables-layout/</guid><description>&lt;h2 id=&#34;if-someone-tells-you-that-is-invalid-they-are-incorrect&#34;&gt;If Someone Tells You That is Invalid, They are Incorrect&lt;/h2&gt;&#xA;&lt;p&gt;I&amp;rsquo;ve been writing HTML since 1995, and in that time various techniques and tools have come in and out of style. But one that has been especially troublesome is the idea of using tables for web page layout.&lt;/p&gt;&#xA;&lt;p&gt;Back in the late 1990s, there weren&amp;rsquo;t a lot of ways to lay out your web designs. You could use the single-pixel GIF trick to add spaces, and you could ignore layout and hope the browser displayed your content in a legible way. So when tables became available in HTML, many designers (including myself) leapt upon them as a gift from the heavens. Finally there was a way to create layouts with fixed widths, specific placement of elements, and more. Web page editors made them really easy to create—even if you used tons of embedded tables to get exactly the look you wanted.&lt;/p&gt;&#xA;&lt;p&gt;Soon, nearly every web page with any attempt at design was built with a &lt;code&gt;&amp;lt;table&amp;gt;&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;But HTML4 came out and said:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;“Tables should not be used purely as a means to layout document content as this may present problems when rendering to non-visual media.”&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;&lt;a href=&#34;http://www.w3.org/TR/1999/REC-html401-19991224/struct/tables.html&#34;&gt;http://www.w3.org/TR/1999/REC-html401-19991224/struct/tables.html&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;And nearly every web designer who used tables for layout let out a scream of frustration. While I believe that &lt;a href=&#34;https://www.html5in24hours.com/posts/css-need-know-much-think/&#34; title=&#34;All the CSS You Need to Know (not as much as you think) – Infographic&#34;&gt;CSS isn&amp;rsquo;t terribly hard&lt;/a&gt; to learn, many people have found it very difficult. And layout is particularly challenging. But for several years, we struggled and strained to learn CSS for layout and stop using tables for that purpose.&lt;/p&gt;&#xA;&lt;h2 id=&#34;html5-changed-the-rules&#34;&gt;HTML5 Changed the Rules&lt;/h2&gt;&#xA;&lt;p&gt;According to the &lt;a href=&#34;http://www.w3.org/TR/html5/tabular-data.html#the-table-element&#34;&gt;HTML5 specification&lt;/a&gt;, while tables for layout is not &lt;em&gt;recommended&lt;/em&gt;, it is a valid way to design web pages. You just have to make sure that you indicate that the table is a “presentation” table, not a data table. Specifically:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;“If a table is to be used for layout it must be marked with the attribute role=&amp;ldquo;presentation&amp;rdquo; for a user agent to properly represent the table to an assistive technology and to properly convey the intent of the author to tools that wish to extract tabular data from the document.”&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;&lt;a href=&#34;http://www.w3.org/TR/html5/tabular-data.html#the-table-element&#34;&gt;http://www.w3.org/TR/html5/tabular-data.html#the-table-element&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;how-to-use-a-table-for-layout-in-html5&#34;&gt;How to Use a Table for Layout in HTML5&lt;/h2&gt;&#xA;&lt;p&gt;In order to indicate that your tables are layout or presentation tables, rather than data tables, you can add one of two attributes:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;role=&amp;quot;presentation&amp;quot;&lt;/code&gt;This is the most compliant method, and is what the W3C recommends. But it requires that you change every web page you have written to include this attribute.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;border=&amp;quot;0&amp;quot;&lt;/code&gt;This attribute also indicates that the table is a presentation table, because most data tables include borders. Plus, most layout tables do not use borders, so you shouldn&amp;rsquo;t have to change anything on your pages.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;There are other ways to indicate a presentation or data table:&lt;/p&gt;&#xA;&lt;p&gt;Table Feature&lt;/p&gt;&#xA;&lt;p&gt;Type of Table&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;table role=&amp;quot;presentation&amp;quot;&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;Presentation&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;table border=&amp;quot;0&amp;quot;&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;Presentation&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;table cellpadding=&amp;quot;0&amp;quot;&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;Presentation&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;table cellspacing=&amp;quot;0&amp;quot;&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;Presentation&lt;/p&gt;&#xA;&lt;p&gt;Use of the &lt;code&gt;CAPTION&lt;/code&gt;, &lt;code&gt;THEAD&lt;/code&gt;, or &lt;code&gt;TH&lt;/code&gt; elements&lt;/p&gt;&#xA;&lt;p&gt;Data&lt;/p&gt;&#xA;&lt;p&gt;Use of the &lt;code&gt;headers&lt;/code&gt; and &lt;code&gt;scope&lt;/code&gt; attributes on the &lt;code&gt;TH&lt;/code&gt; element&lt;/p&gt;&#xA;&lt;p&gt;Data&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;table border=&amp;quot;&amp;quot;&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;Data&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;table border=&amp;quot;1&amp;quot;&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;Data&lt;/p&gt;&#xA;&lt;p&gt;Visible borders set with CSS&lt;/p&gt;&#xA;&lt;p&gt;Data&lt;/p&gt;&#xA;&lt;h2 id=&#34;i-dont-recommend-tables-for-layout&#34;&gt;I Don&amp;rsquo;t Recommend Tables for Layout&lt;/h2&gt;&#xA;&lt;p&gt;Tables cause problems for web pages. They can be slower to load. They can be difficult for search engines to parse. And they mix the content and design, which is more effective when it&amp;rsquo;s separated.&lt;/p&gt;&#xA;&lt;h2 id=&#34;i-would-recommend-using-tables-for-layout-for-your-older-pages-but-as-you-redesign-and-rework-pages-you-should-consider-converting-to-css-layout&#34;&gt;I would recommend using tables for layout for your older pages, but as you redesign and rework pages, you should consider converting to CSS layout.&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;http://GreenesBeans.com&#34; title=&#34;mokaman1@embarqmail.com&#34;&gt;Dave Greene&lt;/a&gt; - Sep 2, 2014&lt;/p&gt;&#xA;&lt;p&gt;What tools/techniques do you recommend for design and layout, Ms. Kyrnin? Thank you.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h4&gt;&lt;/h4&gt;&#xA;&lt;p&gt;&lt;a href=&#34;http://www.htmljenn.com/&#34; title=&#34;jenn@html5in24hours.com&#34;&gt;Jennifer Kyrnin&lt;/a&gt; - Sep 4, 2014&lt;/p&gt;&#xA;&lt;p&gt;Hi Dave, That&amp;rsquo;s a great question, and deserves more than just a comment answer, so I&amp;rsquo;m working on a post that discusses this in detail. But in the meantime, here are some of my favorite tools: - WordPress - I use this for most of the sites I build and maintain because it&amp;rsquo;s easy to use and lends itself to many different types of sites. - Komodo Edit - this is a free text editor that I use to write all my articles, blog posts, and more. I often have to then convert the documents into something more formal like a Word Document or blog post, but Komodo Edit is where I start most projects. - Macaw - this is a web design tool that I love to use for working on new responsive designs. - Dreamweaver - I also use Dreamweaver for RWD, but not as often as I used to. - Chrome - I test everything in Chrome first and then move from there to other, less standards-compliant browsers - Photoshop - I edit most of my images in Photoshop to keep them as small as possible.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;h4&gt;&lt;/h4&gt;&#xA;&lt;p&gt;&lt;a href=&#34;%22jamesthebud@gmail.com%22&#34;&gt;James M&lt;/a&gt; - Dec 0, 2014&lt;/p&gt;&#xA;&lt;p&gt;I agree, there are far too many people dogmatically saying you must never use HTML tables for presentation rather than tabular data. In an ideal world, all browsers would support CSS3 flexible boxes, but in the real world, they don&amp;rsquo;t. And we have to design for the real world, so we have to design for the browsers that are actually being used, not the ones we would like to be out there. And the reality is that IE8 is going to be with us for some time yet, so designers of websites for the real world are stuck with not using CSS3 flex boxes for the foreseeable future. The very fact that CSS3 introduced flex boxes is an obvious indication that CSS2 specifications were lacking a good alternative to HTML tables. I have seen many methods to make CSS2 imitate tables, but they can often end up being no better than the hacks we used to use for IE6, etc. For example, the CSS text-align: justify is often used to align css divs, when the text-align is semantically intended only to apply to text. I do always try to avoid HTML tables for presentation if I can do it easily with CSS2. And I have used the text-align: justify to align divs. But if trying to emulate a table ends up with anything more than a few simple HTML and CSS workarounds, then I have to face the fact that it is coming to the point where the attempt to emulate a table is becoming counter productive, and instead, I use a HTMl table with role=&amp;ldquo;presentation&amp;rdquo;. Otherwise the claimed benefits of separation of semantics and content, and ease of alteration by CSS disappear, and the &amp;ldquo;don&amp;rsquo;t use tables for presentation&amp;rdquo; becomes a mantra without logical justification. As a case in point, I don&amp;rsquo;t think that there is any sensible alternative to using tables when, within a div that contains content, you want to include content that consists of three elements where the two side elements are fixed sizes and the central element expands to fit the remainder - and it contains a single line of text that you want centered. And where it degrades gracefully if the central element becomes very small. With a table it&amp;rsquo;s simple. Try doing that in CSS without using CSS3 and you end up with a big bunch of unwieldy code. Until the vast majority of browsers actually being used are CSS3 compliant, the reality is that there is no reason not to use HTML tables with the attribute role=&amp;ldquo;presentation&amp;rdquo; if there is is no sensible CSS2 alternative.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;</description>
    </item>
    <item>
      <title>What&#39;s new in HTML5 from HTML4? Make the Switch!</title>
      <link>https://www.html5in24hours.com/posts/new-in-html5/</link>
      <pubDate>Wed, 13 Aug 2014 12:00:39 +0000</pubDate>
      <guid>https://www.html5in24hours.com/posts/new-in-html5/</guid><description>&lt;p&gt;One of the most common questions I get asked about HTML, and HTML5 in particular, is “Should I use HTML5 or not?” Find out why you should make the switch from HTML4 to &lt;a href=&#34;https://www.html5in24hours.com/posts/html5-basics/&#34; title=&#34;Basics of HTML5&#34;&gt;HTML5&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;My answer to the question “Should I use HTML5 or not?” is always “Yes!” HTML5 is the current standard for web page designs, and all modern web browsers and editors support it. In fact, even if you&amp;rsquo;re using an older editor like FrontPage, you can modify your designs to use HTML5 by changing the doctype.&lt;/p&gt;&#xA;&lt;h2 id=&#34;what-are-the-advantages-to-using-html5&#34;&gt;What are the Advantages to Using HTML5?&lt;/h2&gt;&#xA;&lt;p&gt;HTML5 is the standard, having replaced HTML 4.01. And many modern devices like iPhones and iPads are optimized for HTML5. Some of the differences from HTML4 include:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;new elements or tags&lt;/li&gt;&#xA;&lt;li&gt;changes to a few existing tags&lt;/li&gt;&#xA;&lt;li&gt;addition of a tag removed from in HTML 4&lt;/li&gt;&#xA;&lt;li&gt;a new doctype&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;But the number one thing you should remember about HTML5 is: &lt;em&gt;it&amp;rsquo;s backwards compatible&lt;/em&gt;. In fact, if all you do is add the &lt;code&gt;&amp;lt;!doctype html&amp;gt;&lt;/code&gt; to the top of your HTML 4.01 document (removing any old &lt;code&gt;&amp;lt;!doctype&amp;gt;&lt;/code&gt; tags), you&amp;rsquo;ll be fine. Your HTML will have been switched to HTML5. &lt;strong&gt;It&amp;rsquo;s that easy!&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;h3 id=&#34;the-new-html5-elements&#34;&gt;The New HTML5 Elements&lt;/h3&gt;&#xA;&lt;p&gt;There are a bunch of new elements (often called tags) in HTML5:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;[&amp;lt;article&amp;gt;](http://webdesign.about.com/od/html5tags/p/bltags_article.htm)&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;[&amp;lt;aside&amp;gt;](http://webdesign.about.com/od/html5tags/p/bltags_aside.htm)&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;[&amp;lt;audio&amp;gt;](http://webdesign.about.com/od/html5tags/p/bltags_audio.htm)&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;&amp;lt;bdi&amp;gt;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;[&amp;lt;canvas&amp;gt;](http://webdesign.about.com/od/html5tags/p/bltags_canvas.htm)&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;[&amp;lt;datalist&amp;gt;](http://webdesign.about.com/od/html5tags/p/bltags_datalist.htm)&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;[&amp;lt;details&amp;gt;](http://webdesign.about.com/od/html5tags/p/bltags_details.htm)&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;[&amp;lt;dialog&amp;gt;](http://webdesign.about.com/od/html5tags/p/bltags_dialog.htm)&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;&amp;lt;embed&amp;gt;&lt;/code&gt; (Note: this element was deprecated in HTML 4.01)&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;&amp;lt;figcaption&amp;gt;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;[&amp;lt;figure&amp;gt;](http://webdesign.about.com/od/html5tags/p/bltags_figure.htm)&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;[&amp;lt;footer&amp;gt;](http://webdesign.about.com/od/html5tags/p/bltags_footer.htm)&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;[&amp;lt;header&amp;gt;](http://webdesign.about.com/od/html5tags/p/bltags_header.htm)&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;[&amp;lt;hgroup&amp;gt;](http://webdesign.about.com/od/html5tags/p/bltags_hgroup.htm)&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;&amp;lt;keygen&amp;gt;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;&amp;lt;main&amp;gt;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;[&amp;lt;mark&amp;gt;](http://webdesign.about.com/od/html5tags/p/bltags_mark.htm)&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;&amp;lt;menuitem&amp;gt;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;[&amp;lt;meter&amp;gt;](http://webdesign.about.com/od/html5tags/p/bltags_meter.htm)&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;[&amp;lt;nav&amp;gt;](http://webdesign.about.com/od/html5tags/p/bltags_nav.htm)&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;[&amp;lt;output&amp;gt;](http://webdesign.about.com/od/html5tags/p/bltags_output.htm)&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;[&amp;lt;progress&amp;gt;](http://webdesign.about.com/od/html5tags/p/bltags_progress.htm)&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;[&amp;lt;rp&amp;gt;](http://webdesign.about.com/od/html5tags/p/bltags_rp.htm)&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;[&amp;lt;rt&amp;gt;](http://webdesign.about.com/od/html5tags/p/bltags_rt.htm)&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;[&amp;lt;ruby&amp;gt;](http://webdesign.about.com/od/html5tags/p/bltags_ruby.htm)&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;[&amp;lt;section&amp;gt;](http://webdesign.about.com/od/html5tags/p/bltags_section.htm)&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;[&amp;lt;time&amp;gt;](http://webdesign.about.com/od/html5tags/p/bltags_time.htm)&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;&amp;lt;track&amp;gt;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;[&amp;lt;video&amp;gt;](http://webdesign.about.com/od/html5tags/p/bltags_video.htm)&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;&amp;lt;wbr&amp;gt;&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;new-html5-attributes&#34;&gt;New HTML5 Attributes&lt;/h3&gt;&#xA;&lt;p&gt;Along with all the new elements there are a bunch of new attributes.&lt;/p&gt;&#xA;&lt;p&gt;The HTML &lt;code&gt;&amp;lt;input type=&amp;quot;text&amp;quot; /&amp;gt;&lt;/code&gt; element has a bunch of new attributes to define different input types. I strongly recommend you start using these immediately.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;color&lt;/li&gt;&#xA;&lt;li&gt;date&lt;/li&gt;&#xA;&lt;li&gt;datetime&lt;/li&gt;&#xA;&lt;li&gt;datetime-local&lt;/li&gt;&#xA;&lt;li&gt;email&lt;/li&gt;&#xA;&lt;li&gt;month&lt;/li&gt;&#xA;&lt;li&gt;number&lt;/li&gt;&#xA;&lt;li&gt;range&lt;/li&gt;&#xA;&lt;li&gt;search&lt;/li&gt;&#xA;&lt;li&gt;tel&lt;/li&gt;&#xA;&lt;li&gt;time&lt;/li&gt;&#xA;&lt;li&gt;url&lt;/li&gt;&#xA;&lt;li&gt;week&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;There are now a bunch of global attributes that can be added to every element:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;accesskey&lt;/li&gt;&#xA;&lt;li&gt;aria-*&lt;/li&gt;&#xA;&lt;li&gt;class&lt;/li&gt;&#xA;&lt;li&gt;contenteditable&lt;/li&gt;&#xA;&lt;li&gt;contextmenu&lt;/li&gt;&#xA;&lt;li&gt;data-*&lt;/li&gt;&#xA;&lt;li&gt;dir&lt;/li&gt;&#xA;&lt;li&gt;draggable&lt;/li&gt;&#xA;&lt;li&gt;dropzone&lt;/li&gt;&#xA;&lt;li&gt;hidden&lt;/li&gt;&#xA;&lt;li&gt;id&lt;/li&gt;&#xA;&lt;li&gt;inert&lt;/li&gt;&#xA;&lt;li&gt;lang&lt;/li&gt;&#xA;&lt;li&gt;on_event_ (these are various event handlers like on_mouseover_ and on_play_)&lt;/li&gt;&#xA;&lt;li&gt;role&lt;/li&gt;&#xA;&lt;li&gt;spellcheck&lt;/li&gt;&#xA;&lt;li&gt;style&lt;/li&gt;&#xA;&lt;li&gt;tabindex&lt;/li&gt;&#xA;&lt;li&gt;title&lt;/li&gt;&#xA;&lt;li&gt;translate&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;There are also a bunch of new attributes added to specific elements to make them more functional.&lt;/p&gt;&#xA;&lt;p&gt;Element(s)&lt;/p&gt;&#xA;&lt;p&gt;New Attribute&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;a&amp;gt; &amp;lt;area&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;download ping&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;area&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;hreflang type rel&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;base&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;target&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;meta&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;charset&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;table&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;sortable&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;th&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;sorted&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;input&amp;gt; &amp;lt;select&amp;gt; &amp;lt;textarea&amp;gt; &amp;lt;button&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;autofocus&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;input&amp;gt; &amp;lt;textarea&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;dirname inputmode placeholder&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;input&amp;gt; &amp;lt;output&amp;gt; &amp;lt;select&amp;gt; &amp;lt;textarea&amp;gt; &amp;lt;button&amp;gt; &amp;lt;label&amp;gt; &amp;lt;object&amp;gt; &amp;lt;fieldset&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;required&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;fieldset&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;disabled&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;input&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;autocomplete height list min max multiple pattern step width&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;textarea&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;maxlength wrap&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;form&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;novalidate&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;input&amp;gt; &amp;lt;button&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;formaction formenctype formmethod formnovalidate formtarget&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;menu&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;type label&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;button&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;menu&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;style&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;scoped&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;script&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;async crossorigin&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;html&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;manifest&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;link&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;crossorigin sizes&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;ol&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;reversed&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;iframe&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;sandbox seamless srcdoc&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;object&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;typemustmatch&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;img&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;crossorigin srcset&lt;/p&gt;&#xA;&lt;h3 id=&#34;obsolete-elements&#34;&gt;Obsolete Elements&lt;/h3&gt;&#xA;&lt;p&gt;One new feature of HTML5 is when elements are no longer used, they are marked obsolete. That means that browser makers can continue to support any of these elements and web designers who use them don’t need to go through their code to remove them. But best practices recommend that you should stop using these obsolete elements as there are better choices available in HTML5.&lt;/p&gt;&#xA;&lt;p&gt;Obsolete Element&lt;/p&gt;&#xA;&lt;p&gt;Replaced By&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;basefont&amp;gt; &amp;lt;big&amp;gt; &amp;lt;center&amp;gt; &amp;lt;font&amp;gt; &amp;lt;strike&amp;gt; &amp;lt;tt&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;CSS&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;frame&amp;gt; &amp;lt;frameset&amp;gt; &amp;lt;noframes&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;Nothing, they damage usability and accessibility. Use &lt;code&gt;&amp;lt;iframe&amp;gt;&lt;/code&gt; if you must have frames.&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;acronym&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;abbr&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;appet&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;object&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;isindex&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;form controls&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;dir&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;ul&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;noscript&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;Only conforming in HTML5, not XHTML5&lt;/p&gt;&#xA;&lt;h2 id=&#34;new-apis-in-html5&#34;&gt;New APIs in HTML5&lt;/h2&gt;&#xA;&lt;p&gt;One of the best parts of HTML5 are the new application programming interfaces or APIs. These are commands and scripts that give you more control over your HTML5 documents and let them look and act like an application and not just a web page.&lt;/p&gt;&#xA;&lt;p&gt;The new APIs are:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Media APIs for video and audio playback&lt;/li&gt;&#xA;&lt;li&gt;Constraint validation&lt;/li&gt;&#xA;&lt;li&gt;User commands&lt;/li&gt;&#xA;&lt;li&gt;Offline web applications&lt;/li&gt;&#xA;&lt;li&gt;Web application registration for media types&lt;/li&gt;&#xA;&lt;li&gt;Contenteditable&lt;/li&gt;&#xA;&lt;li&gt;Drag and drop&lt;/li&gt;&#xA;&lt;li&gt;URL History and location&lt;/li&gt;&#xA;&lt;li&gt;Base64 conversion&lt;/li&gt;&#xA;&lt;li&gt;Timer-based callbacks&lt;/li&gt;&#xA;&lt;li&gt;Prompts&lt;/li&gt;&#xA;&lt;li&gt;Printing&lt;/li&gt;&#xA;&lt;li&gt;Handling search providers&lt;/li&gt;&#xA;&lt;li&gt;A defined Window object&lt;/li&gt;&#xA;&lt;li&gt;Microdata&lt;/li&gt;&#xA;&lt;li&gt;Bitmap graphics&lt;/li&gt;&#xA;&lt;li&gt;Cross-document and channel messaging&lt;/li&gt;&#xA;&lt;li&gt;Run scripts in the background&lt;/li&gt;&#xA;&lt;li&gt;Client-side storage&lt;/li&gt;&#xA;&lt;li&gt;Bidirectional client-server communication&lt;/li&gt;&#xA;&lt;li&gt;Server-to-client data push&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;html5-is-better-for-web-pages&#34;&gt;HTML5 is Better for Web Pages&lt;/h3&gt;&#xA;&lt;p&gt;As you can see, while there are a lot of exciting new features to HTML5, there are none that are required in order to use it. In fact, it’s easy to just get started today with the doctype and then add new features as you learn them and become more comfortable with them.&lt;/p&gt;&#xA;&lt;p&gt;It&amp;rsquo;s a good idea to start using HTML5, if you haven&amp;rsquo;t already, because it gives you more features and controls for your web designs. Plus with more and more people using mobile devices that are optimized for HTML5, you can ensure you aren&amp;rsquo;t losing your audience.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>HTML5 Learning Lab Available</title>
      <link>https://www.html5in24hours.com/posts/html5-learning-lab-available/</link>
      <pubDate>Wed, 30 Jul 2014 00:22:18 +0000</pubDate>
      <guid>https://www.html5in24hours.com/posts/html5-learning-lab-available/</guid><description>&lt;p&gt;&lt;a href=&#34;http://www.informit.com/store/html5-mobile-application-development-in-24-hours-sams-9780133927399&#34;&gt;&lt;img src=&#34;https://www.html5in24hours.com/images/learning-lab-html5-book-version-300x177.jpg&#34; alt=&#34;HTML5 Learning Lab&#34;&gt;&lt;/a&gt; HTML5 Mobile Application Development in 24 Hours Learning Lab&lt;/p&gt;&#xA;&lt;p&gt;I&amp;rsquo;m pleased to announce that the latest version of my book &lt;em&gt;Sams Teach Yourself HTML5 Mobile Application Development in 24 Hours&lt;/em&gt; is available in a &lt;a href=&#34;http://www.informit.com/store/html5-mobile-application-development-in-24-hours-sams-9780133927399&#34;&gt;Learning Lab format from Pearson&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;The Learning Lab takes the entire book and adds interactive quizzes, videos, step-by-step lessons, and live code editing right in the book. If you&amp;rsquo;ve wanted to do more practice while learning HTML5, this is an excellent version of the book to get.&lt;/p&gt;&#xA;&lt;h2 id=&#34;three-free-chapters&#34;&gt;Three Free Chapters&lt;/h2&gt;&#xA;&lt;p&gt;The first three chapters are available online for free for you to try out and see if this version will work for you.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;http://ptgmedia.pearsoncmg.com/imprint_downloads/informit/learninglabs/9780133927399/ch01.html&#34;&gt;Hour 1: Improving Mobile Web Application Development with HTML5&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;http://ptgmedia.pearsoncmg.com/imprint_downloads/informit/learninglabs/9780133927399/ch02.html&#34;&gt;Hour 2: New HTML5 Tags and Attributes with Mobile Development&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;http://ptgmedia.pearsoncmg.com/imprint_downloads/informit/learninglabs/9780133927399/ch03.html&#34;&gt;Hour 3: Styling Mobile Pages with CSS3&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;I worked hard on these videos and on the quizzes as well as writing the entire body of text, so I hope that you enjoy the HTML5 Learning Lab.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>Still Here, but Busy</title>
      <link>https://www.html5in24hours.com/posts/still-here-but-busy/</link>
      <pubDate>Fri, 25 Jan 2013 20:11:38 +0000</pubDate>
      <guid>https://www.html5in24hours.com/posts/still-here-but-busy/</guid><description>&lt;p&gt;Some people have wondered if I&amp;rsquo;m still around or maintaining this site (and &lt;a href=&#34;https://www.html5in24hours.com/books/the-book/&#34; title=&#34;Teach Yourself HTML5 in 24 Hours—Ordering Information&#34;&gt;the book&lt;/a&gt;) and I am, I&amp;rsquo;ve just been fairly busy. I hope to announce some exciting new things in the coming months, but in the meantime I can&amp;rsquo;t post as often.&lt;/p&gt;&#xA;&lt;p&gt;If you want to learn HTML, my book is a great place to start, and you can also get help on my site at About.com: &lt;a href=&#34;http://webdesign.about.com/&#34; title=&#34;About Web Design and HTML&#34;&gt;Web Design / HTML&lt;/a&gt;.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>Latest Zeen issue is now live</title>
      <link>https://www.html5in24hours.com/posts/latest-zeen-issue-is-now-live/</link>
      <pubDate>Fri, 14 Sep 2012 17:30:12 +0000</pubDate>
      <guid>https://www.html5in24hours.com/posts/latest-zeen-issue-is-now-live/</guid><description>&lt;p&gt;&lt;a href=&#34;http://zeen.com/magazine/GSMgKn&#34;&gt;&lt;img src=&#34;https://www.html5in24hours.com/images/zeen-issue2-214x300.png&#34; alt=&#34;Teach Yourself HTML5 Zeen - Issue #2&#34; title=&#34;Teach Yourself HTML5 Zeen - Issue #2&#34;&gt;&lt;/a&gt; Teach Yourself HTML5 Zeen - Issue #2&lt;/p&gt;&#xA;&lt;p&gt;I&amp;rsquo;ve posted the second issue of my &lt;a href=&#34;http://zeen.com/magazine/GSMgKn&#34; title=&#34;Teach Yourself HTML5&#34;&gt;HTML5 Zeen&lt;/a&gt; today. There are a few things that are wonky with the issue, most notably that Zeen says it&amp;rsquo;s &amp;ldquo;Issue #3&amp;rdquo; when it&amp;rsquo;s #2. But whatever.&lt;/p&gt;&#xA;&lt;p&gt;In this issue I show you some ways to &lt;a href=&#34;https://www.html5in24hours.com/posts/8-ways-to-get-started-with-html5-today/&#34; title=&#34;8 Ways to Get Started with HTML5 Today&#34;&gt;get started with HTML5&lt;/a&gt; if you haven&amp;rsquo;t already. Including the cover image which shows you the basics for what you need to write to create an HTML5 document.&lt;/p&gt;&#xA;&lt;h3 id=&#34;writing-html5-is-really-easy&#34;&gt;Writing HTML5 is Really Easy&lt;/h3&gt;&#xA;&lt;p&gt;All it takes is a DOCYTPE:&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;&amp;lt;!doctype html&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;And you&amp;rsquo;ve got an HTML5 document. One thing that most people forget is that HTML5 is not a new language. It&amp;rsquo;s evolved from HTML 4.01 and HTML 3.2 and all the versions before. So if you&amp;rsquo;re writing HTML 4.01 today, you can start writing HTML5 by just changing one line of your HTML. Don&amp;rsquo;t worry about changing anything else.&lt;/p&gt;&#xA;&lt;h2 id=&#34;the-zeen-issue-goes-into-more-detail-about-dealing-with-older-browsers-like-ie8-and-using-editors-like-dreamweaver-to-write-your-html5-but-at-the-end-of-the-day-just-putting-up-the-new-doctype-is-all-it-takes-poof-you-are-using-the-most-up-to-date-specification-that-didnt-hurt-a-bit&#34;&gt;The Zeen issue goes into more detail about dealing with older browsers like IE8 and using editors like Dreamweaver to write your HTML5, but at the end of the day, just putting up the new doctype is all it takes. Poof! You are using the most up-to-date specification. That didn&amp;rsquo;t hurt a bit!&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;http://&#34; title=&#34;Sundayobaidu@yahoo.com&#34;&gt;Sunday Ayodele&lt;/a&gt; - Sep 6, 2012&lt;/p&gt;&#xA;&lt;p&gt;Hi,with simple and straightforword instruction given by you here,then i can say HTML5 is easy to learn.but to me i only stop or stay on HTML3.2.With this level,if i jump to Html5 can i still cope?&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; - Sep 5, 2012&lt;/p&gt;&#xA;&lt;p&gt;@Sunday Ayodele: You can switch to HTML5 gradually. Nearly every element in HTML3.2 is valid in HTML5, so you can start by simply changing your doctype to the HTML5 doctype. Here&amp;rsquo;s a good article to check out: &lt;a href=&#34;https://www.html5in24hours.com/posts/8-ways-to-get-started-with-html5-today/&#34; title=&#34;8 Ways to Get Started with HTML5 Today&#34;&gt;8 Ways to Get Started with HTML5 Today&lt;/a&gt;&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;</description>
    </item>
    <item>
      <title>8 Ways to Get Started with HTML5 Today</title>
      <link>https://www.html5in24hours.com/posts/8-ways-to-get-started-with-html5-today/</link>
      <pubDate>Fri, 22 Jun 2012 04:40:22 +0000</pubDate>
      <guid>https://www.html5in24hours.com/posts/8-ways-to-get-started-with-html5-today/</guid><description>&lt;p&gt;HTML5 has been around for a few years now, and yet there are still a lot of people who are resistant to using it. But there are a number of aspects of HTML5 that you can start using today without any worries about compatibility whatsoever:&lt;/p&gt;&#xA;&lt;p&gt;The DOCTYPE &lt;code&gt;&amp;lt;!doctype html&amp;gt;&lt;/code&gt; This is required in order to write HTML5, but it also won&amp;rsquo;t hurt your site even in older browsers. Browsers that don&amp;rsquo;t necessarily recognize the doctype will still display the page correctly — they&amp;rsquo;ll just use quirks mode.&lt;/p&gt;&#xA;&lt;p&gt;The shortened meta character set &lt;code&gt;&amp;lt;meta charset=&amp;quot;utf-8&amp;quot;&amp;gt;&lt;/code&gt; This was implemented in HTML5 because every browser out there defines the character set from this tag. And the browsers implemented it because web designers were doing it by mistake.&lt;/p&gt;&#xA;&lt;p&gt;Remove the type from SCRIPT and STYLE elements &lt;code&gt;&amp;lt;script src=&amp;quot;&amp;quot;&amp;gt;&amp;lt;/script&amp;gt; &amp;lt;style&amp;gt;&amp;lt;/style&amp;gt;&lt;/code&gt; In HTML 4 it was required that you use the type attribute to define scripts and styles. But as long as your style sheets are using CSS and your scripts are using JavaScript (ECMAScript), you can leave off the type designation and they will work without any issues.&lt;/p&gt;&#xA;&lt;p&gt;Sectioning elements &lt;code&gt;&amp;lt;section&amp;gt;, &amp;lt;article&amp;gt;, &amp;lt;aside&amp;gt;, &amp;lt;header&amp;gt;, &amp;lt;footer&amp;gt;, &amp;lt;nav&amp;gt;&lt;/code&gt;, and so on You can add the sectioning elements into your existing HTML and they won&amp;rsquo;t change the way the page looks at all. Browsers that don&amp;rsquo;t recognize them will ignore them, and browsers that do will add that semantic information to the site.&lt;/p&gt;&#xA;&lt;p&gt;Other semantic elements &lt;code&gt;&amp;lt;mark&amp;gt;&lt;/code&gt; and &lt;code&gt;&amp;lt;time&amp;gt;&lt;/code&gt; Like  sectioning elements, these add semantic information to the content, but browsers that don&amp;rsquo;t recognize these elements will simply ignore them.&lt;/p&gt;&#xA;&lt;p&gt;Use the id attribute instead of name While both attributes are valid in certain situations, you can use the id attribute to create anchors within your text. This isn&amp;rsquo;t an HTML5 specific change, but all modern browsers support linking to an ID with the pound-sign (#), for example: &lt;code&gt;&amp;lt;h1 id=&amp;quot;headline1&amp;quot;&amp;gt; &amp;lt;a href=&amp;quot;#headline1&amp;quot;&amp;gt;&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;Use placeholder links &lt;code&gt;&amp;lt;a&amp;gt;placeholder link&amp;lt;/a&amp;gt;&lt;/code&gt; A placeholder link is just a link that doesn&amp;rsquo;t have an href attribute. They are another item that most web designers have used at one time or another, and now with HTML5 they are valid.&lt;/p&gt;&#xA;&lt;p&gt;Use the new INPUT types in your forms When you use an input type of email on your email input fields, browsers that support it will validate that the data looks like an email address. And browsers that don&amp;rsquo;t support it will simply ignore the type and treat it as a text box.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>Blink and you missed it. TIME element back in the HTML5 spec</title>
      <link>https://www.html5in24hours.com/errata/blink-and-you-missed-it-time-element-back-in-the-html5-spec/</link>
      <pubDate>Sat, 05 Nov 2011 18:10:16 +0000</pubDate>
      <guid>https://www.html5in24hours.com/errata/blink-and-you-missed-it-time-element-back-in-the-html5-spec/</guid><description>&lt;h2 id=&#34;from-sams-teach-yourself-html5-mobile-application-development-in-24-hours&#34;&gt;from: Sams Teach Yourself HTML5 Mobile Application Development in 24 Hours&lt;/h2&gt;&#xA;&lt;p&gt;After a large uproar by designers and developers last week when they removed the HTML5 &lt;code&gt;TIME&lt;/code&gt; element, the W3C recanted and put it back in the spec. So you don&amp;rsquo;t have to replace &lt;code&gt;TIME&lt;/code&gt; with &lt;code&gt;DATA&lt;/code&gt;, but you can if you want to.&lt;/p&gt;&#xA;&lt;p&gt;This corrects last week’s errata post. The book still contains the &lt;code&gt;TIME&lt;/code&gt; element, but does not contain the &lt;code&gt;DATA&lt;/code&gt; element.&lt;/p&gt;&#xA;&lt;p&gt;What&amp;rsquo;s really great is that this shows that the W3C is listening to us. So if there is some other problem with the HTML5 spec, don&amp;rsquo;t be shy—let them know. If enough agree, your change may happen!&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>Who is the HTML5 in 24 Hours Book for?</title>
      <link>https://www.html5in24hours.com/posts/who-is-this-book-for/</link>
      <pubDate>Thu, 20 Oct 2011 18:19:40 +0000</pubDate>
      <guid>https://www.html5in24hours.com/posts/who-is-this-book-for/</guid><description>&lt;p&gt;I’ve been working on editing the proof copies of the book for the last several weeks and one thing that keeps popping to mind is the audience. I wrote the book intending it for a beginner audience, but I should clarify this. When I say that it’s for beginners, I mean beginners to mobile and web application development, not beginners to HTML.&lt;/p&gt;&#xA;&lt;p&gt;I wrote the book to teach people who already have some knowledge of HTML and web development how to use HTML5 to create mobile web applications. The book is &lt;strong&gt;not&lt;/strong&gt; intended to teach someone who has never built a web page before how to write HTML. There are lots of books available that you can use to learn HTML. These are some of my favorites:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;em&gt;&lt;a href=&#34;http://www.amazon.com/gp/product/059610197X/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;amp;tag=kyrnindesign-20&amp;amp;linkCode=as2&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=059610197X&#34;&gt;Head First HTML with CSS &amp;amp; XHTML&lt;/a&gt;&lt;/em&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;em&gt;&lt;a href=&#34;http://www.amazon.com/gp/product/0672330970/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;amp;tag=kyrnindesign-20&amp;amp;linkCode=as2&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=0672330970&#34;&gt;Sams Teach Yourself HTML and CSS in 24 Hours&lt;/a&gt;&lt;/em&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;em&gt;&lt;a href=&#34;http://www.amazon.com/gp/product/0596527527/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;amp;tag=kyrnindesign-20&amp;amp;linkCode=as2&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=0596527527&#34;&gt;Learning Web Design&lt;/a&gt;&lt;/em&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;I hope that designers and developers interested in learning how to build mobile web applications will find my book useful. And if you’re still learning HTML, there’s always my site on &lt;a href=&#34;http://webdesign.about.com&#34;&gt;About.com&lt;/a&gt; to help you get started. I have tons of resources there to help beginners learn HTML and web design.&lt;/p&gt;&#xA;</description>
    </item>
    <item>
      <title>Borders on tables now ok in HTML5</title>
      <link>https://www.html5in24hours.com/posts/borders-on-tables-now-ok-in-html5/</link>
      <pubDate>Fri, 22 Apr 2011 16:05:05 +0000</pubDate>
      <guid>https://www.html5in24hours.com/posts/borders-on-tables-now-ok-in-html5/</guid><description>&lt;p&gt;If you use tables (not for layout, of course) it can be very tedious to get the borders to surround every cell using CSS. You need to set the border on the table and on every th and td, and then collapse the borders with border-collapse. I don’t know about you, but I would often just add the &lt;code&gt;border&lt;/code&gt; attribute to the table, just to get it done quickly.&lt;/p&gt;&#xA;&lt;p&gt;Well, this week the HTML5 working group &lt;a href=&#34;http://www.w3.org/html/wg/wiki/ISSUE-155-CP1&#34;&gt;decided&lt;/a&gt; to make that okay again. They agreed that many tables need to have borders to define the cells. The &lt;a href=&#34;http://lists.w3.org/Archives/Public/public-html/2011Apr/0377.html&#34;&gt;proposal&lt;/a&gt; pointed out that putting CSS on a table to define the borders would not be carried over when the table was moved between implementations. In other words, if you wrote a table in an HTML document, and then ported that document into XML, the borders in CSS would stay with the CSS, not with the table.&lt;/p&gt;&#xA;&lt;h2 id=&#34;now-it-is-legal-to-write-table-borderto-add-borders-around-your-table-and-table-cells-i-for-one-am-pleased&#34;&gt;Now it is legal to write &lt;code&gt;&amp;lt;table border&amp;gt;&lt;/code&gt;  to add borders around your table and table cells. I, for one, am pleased!&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;%22skmpu@bhmk.com%22&#34;&gt;Steven K. Mariner&lt;/a&gt; - Mar 5, 2015&lt;/p&gt;&#xA;&lt;p&gt;This is good news and a welcome relief. I was starting to wonder if the fine folks who worked on the HTML5 standard even used HTML anymore. The insane amount of overhead required by the use of CSS to do everything suggested they have forgotten that sometimes *people* make web sites, and mobile devices have to load them *slowly*. Mandatory content increase is a bad idea, and HTML5 is littered with it.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;</description>
    </item>
    <item>
      <title>Welcome to my new blog about HTML5</title>
      <link>https://www.html5in24hours.com/posts/welcome-to-html5/</link>
      <pubDate>Fri, 15 Apr 2011 06:11:34 +0000</pubDate>
      <guid>https://www.html5in24hours.com/posts/welcome-to-html5/</guid><description>&lt;p&gt;I am excited to start working on this blog about HTML5. In it I&amp;rsquo;ll provide sample sites written in HTML5, links to tutorials on other sites, references that I use to learn HTML5 and lots more. I hope you enjoy learning about HTML5 as much as I enjoy writing about it.&lt;/p&gt;&#xA;</description>
    </item>
  </channel>
</rss>
