HTML5
HTML5 isn’t some radically new technology. In fact, unlike XHTML, which was intended to foster a new way to build web pages, HTML5 is about making sure the web continues to work as it always has. Most of the basics of HTML are still in place. HTML5 adds a few new elements, meant to support the way web designers currently build websites. In HTML5, for example, the <header> tag can contain the content you’d usually find at the top of a page, such as a logo and site-wide navigation links; the new <nav> tag encloses the set of links used to navigate a site; and the <footer> tag houses the stuff you usually put at the bottom of a page, like legal notices, email contacts, and so on.
In addition, HTML5 adds new tags that let you insert video and audio into a page, and new form tags that add sophisticated form elements, like sliders and drop-down date pickers, as well as built-in browser support for form validation to make sure visitors correctly fill out your forms. Unfortunately, browser support for these new features isn’t consistent and it’s therefore difficult to use the new tags without some pretty elaborate workarounds to ensure cross-browser support.
In addition, Dreamweaver CS6 doesn’t provide quick tools for inserting HTML5 tags. While Dreamweaver offers click-to-insert buttons that make it easy to insert HTML4 tags like the <img>, <table>, or <p> tags, it doesn’t provide similar buttons for HTML5 tags like <header>, <footer>, <article>, or <section>. You can, of course, type ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access