{"id":401,"date":"2015-06-29T17:47:19","date_gmt":"2015-06-29T17:47:19","guid":{"rendered":"https:\/\/www.eskimo.com\/support\/?page_id=401"},"modified":"2015-07-15T01:26:44","modified_gmt":"2015-07-15T01:26:44","slug":"html5","status":"publish","type":"page","link":"https:\/\/www.eskimo.com\/support\/web-space\/html5\/","title":{"rendered":"HTML5"},"content":{"rendered":"<p style=\"text-align: center;\"><span style=\"font-family: arial,helvetica,sans-serif; font-size: 20pt; color: #008000;\">HTML5<\/span><\/p>\n<p><span style=\"font-family: arial,helvetica,sans-serif; font-size: 12pt;\">\u00a0\u00a0\u00a0\u00a0 HTML5 is the latest and greatest standard for HTML. It incorporates <\/span><span style=\"font-family: arial,helvetica,sans-serif; font-size: 12pt;\">some features of HTML4.01 and some of XML, but also brings many new <\/span><span style=\"font-family: arial,helvetica,sans-serif; font-size: 12pt;\">exciting capabilities to the web including a graphics canvas, audio, and <\/span><span style=\"font-family: arial,helvetica,sans-serif; font-size: 12pt;\">video capabilities.<\/span><\/p>\n<p><span style=\"font-size: 12pt;\"><span style=\"font-family: arial,helvetica,sans-serif;\">\u00a0\u00a0\u00a0\u00a0 HTML5 tightens the specification for HTML so there are fewer problems <\/span><span style=\"font-family: arial,helvetica,sans-serif;\">with browsers interpreting things differently. It provides many <\/span><span style=\"font-family: arial,helvetica,sans-serif;\">capabilities that previously required plugins and add-ons so that advanced <\/span><span style=\"font-family: arial,helvetica,sans-serif;\">capabilities will be available across a wide array of Internet <\/span><span style=\"font-family: arial,helvetica,sans-serif;\">appliances.<\/span><\/span><\/p>\n<p><span style=\"font-size: 12pt;\"><span style=\"font-family: arial,helvetica,sans-serif;\">\u00a0\u00a0\u00a0\u00a0 For someone who likes to hand-code things, as I do, it&#8217;s also easier <\/span><span style=\"font-family: arial,helvetica,sans-serif;\">than previous versions of HTML, although there is a lot more to learn, <\/span><span style=\"font-family: arial,helvetica,sans-serif;\">only because it is so capable.<\/span><\/span><\/p>\n<p><span style=\"font-size: 12pt;\"><span style=\"font-family: arial,helvetica,sans-serif;\">\u00a0\u00a0\u00a0\u00a0 HTML5 is still an evolving standard but already most major browsers<\/span><span style=\"font-family: arial,helvetica,sans-serif;\"> implement a large portion of it, enough so that it is currently possible <\/span><span style=\"font-family: arial,helvetica,sans-serif;\">to include video, auto, and graphical content without the need for <\/span><span style=\"font-family: arial,helvetica,sans-serif;\">plugins. It is also easy to write code that is HTML5 compliant but also <\/span><span style=\"font-family: arial,helvetica,sans-serif;\">backwards compatible with older browsers.<\/span><\/span><\/p>\n<p><strong><span style=\"font-family: arial,helvetica,sans-serif; font-size: 14pt;\">Hello World!<\/span><\/strong><\/p>\n<pre><span style=\"font-size: 12pt;\">   &lt;!DOCTYPE html&gt;\r\n   &lt;html lang=\"en-US\"&gt;\r\n   &lt;html&gt;\r\n      &lt;head&gt;\r\n         &lt;title&gt;Hello World!&lt;\/title&gt;\r\n      &lt;\/head&gt;\r\n      &lt;body&gt;\r\n         &lt;p&gt;Hello World!&lt;\/p&gt;\r\n      &lt;\/body&gt;\r\n   &lt;\/html&gt;\r\n<\/span><\/pre>\n<p><span style=\"font-size: 12pt;\"><span style=\"font-family: arial,helvetica,sans-serif;\">\u00a0\u00a0\u00a0\u00a0 Notice that the DOCTYPE for HTML5 is simply &#8220;HTML&#8221;. What <\/span><span style=\"font-family: arial,helvetica,sans-serif;\">could be simpler than that? The presence of this doctype puts <\/span><span style=\"font-family: arial,helvetica,sans-serif;\">browsers in standards mode so there is at least a chance they&#8217;ll do <\/span><\/span><span style=\"font-family: arial,helvetica,sans-serif; font-size: 12pt;\">the right thing.<\/span><\/p>\n<p><span style=\"font-size: 12pt;\"><span style=\"font-family: arial,helvetica,sans-serif;\">\u00a0\u00a0\u00a0\u00a0 Some sites don&#8217;t consider the language declaration to be important but <\/span><span style=\"font-family: arial,helvetica,sans-serif;\">I prefer not to make the browser guess and guarantee that the correct<\/span><span style=\"font-family: arial,helvetica,sans-serif;\"> character set is used to render the document.<\/span><\/span><\/p>\n<p><span style=\"font-size: 12pt;\"><span style=\"font-family: arial,helvetica,sans-serif;\">\u00a0\u00a0\u00a0\u00a0 Just as with previous versions of HTML, you have &lt;html&gt; and the <\/span><span style=\"font-family: arial,helvetica,sans-serif;\">closing &lt;\/html&gt; tags surrounding the header and body.<\/span><\/span><\/p>\n<p><span style=\"font-size: 12pt;\"><span style=\"font-family: arial,helvetica,sans-serif;\">\u00a0\u00a0\u00a0\u00a0 The header section is enclosed in &lt;header&gt; and &lt;\/header&gt; <\/span><span style=\"font-family: arial,helvetica,sans-serif;\">tags and the body in &lt;body&gt; and &lt;\/body&gt; tags, just as with <\/span><span style=\"font-family: arial,helvetica,sans-serif;\">previous versions.<\/span><\/span><\/p>\n<p><span style=\"font-size: 12pt;\"><span style=\"font-family: arial,helvetica,sans-serif;\">\u00a0\u00a0\u00a0\u00a0 HTML5 can be coded in either HTML format or XHTML format. If you want <\/span><span style=\"font-family: arial,helvetica,sans-serif;\">to type &lt;br&gt; or &lt;br \/&gt;, either will work. Browsers will parse <\/span><span style=\"font-family: arial,helvetica,sans-serif;\">both HTML5 and XHTML5 identically.<\/span><\/span><\/p>\n<p><span style=\"font-size: 12pt;\"><span style=\"font-family: arial,helvetica,sans-serif;\">\u00a0\u00a0\u00a0\u00a0 Many deprecated tags, such as &lt;center&gt; and &lt;font&gt;, are no <\/span><span style=\"font-family: arial,helvetica,sans-serif;\">longer supported because their functions have been replaced by style <\/span><span style=\"font-family: arial,helvetica,sans-serif;\">sheets. Now if only Browser vendors would make all style sheet code work <\/span><span style=\"font-family: arial,helvetica,sans-serif;\">properly.<\/span><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>HTML5 \u00a0\u00a0\u00a0\u00a0 HTML5 is the latest and greatest standard for HTML. It incorporates some features of HTML4.01 and some of XML, but also brings many new exciting capabilities to the web including a graphics canvas, audio, and video capabilities. \u00a0\u00a0\u00a0\u00a0 &hellip; <a href=\"https:\/\/www.eskimo.com\/support\/web-space\/html5\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":377,"menu_order":0,"comment_status":"open","ping_status":"open","template":"showcase.php","meta":{"footnotes":""},"class_list":["post-401","page","type-page","status-publish","hentry","wpautop"],"_links":{"self":[{"href":"https:\/\/www.eskimo.com\/support\/wp-json\/wp\/v2\/pages\/401","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.eskimo.com\/support\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.eskimo.com\/support\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.eskimo.com\/support\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.eskimo.com\/support\/wp-json\/wp\/v2\/comments?post=401"}],"version-history":[{"count":0,"href":"https:\/\/www.eskimo.com\/support\/wp-json\/wp\/v2\/pages\/401\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/www.eskimo.com\/support\/wp-json\/wp\/v2\/pages\/377"}],"wp:attachment":[{"href":"https:\/\/www.eskimo.com\/support\/wp-json\/wp\/v2\/media?parent=401"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}