Lijit Search

spacer Subscribe to RSS

spacer Subscribe by Email

spacer

spacer

Where programming, the internet and social media collide.

A Simple Introduction To HTML5

Published in July 29th, 2011
Posted by Rob Diana in Programming
4 Comments
Tweet

At this point, you are probably tired of hearing how HTML5 is changing everything. Everything in web applications and even mobile applications are changing. HTML5 even lets you create a web application that works almost like a desktop application. Yes, there is a lot of hype about HTML5, especially when you consider that the specification is not entirely complete. However, there is a lot of information that is fairly stable, and this is driving much of the hype.

So, what is HTML5? Actually, it is not just HTML. It is a family of technologies that includes new HTML tags, CSS3, and some new APIs. The new tags and css are really helpful, but the APIs are the parts of the specification that are the source of the hype. As a simple introduction to HTML5, you can look at the HTML5 Logo site for the high-level categories of new features.

Semantics

HTML5 adds new tags for defining the structure of your pages. Tags like <header>, <footer>, <nav>, <section> and <article> help put meaning into the structure of your documents. The addition of RDFa, microformats and microdata, add more programmatic accessibility and meaning to your content.

Offline & Storage

Offline access and storage is the most volatile section of the specification. The App Cache and Local Storage APIs are stable, and will prove very helpful to application developers looking to extend their reach and allow usage when not connected. Other APIs that are also being developed are the Indexed DB and File APIs.

Device Access

One of the more talked about aspects of this category is the Geolocation API, which gives web developers access to a user’s location similar to what many mobile applications have. There is access to other local device features (microphones and cameras) and data (contacts and events).

Connectivity

Quite possibly the most interesting piece of HTML5 is the WebSockets API. This allows the web application to make calls to a server without hacking together various AJAX requests or worrying about polling the server constantly. Additionally, the Server-Sent events (or push notifications) further the communications between the client and the server.

Multimedia

HTML5 adds several new audio and video tags that enable developers to add multimedia without the use of Flash. This becomes more important when dealing with the various mobile devices, especially those that are not Flash-enabled, like the iPhone.

3D, Graphics & Effects

There are a lot of features that have been added but the new Canvas has received all of the talk. CSS 3D effects have been implemented in browser-specific extensions. SVG  has also been used for quite some time, as well as the WebGL specification. So, it makes sense that Canvas gets all of the attention, it is the only real new feature in the category.

Performance & Integration

People have been using AJAX for years, but the new specification has improvements in XMLHttpRequest 2. More interesting is the new WebWorkers specification, a new API that will help application developers develop background processes.

CSS3

CSS3 is likely the most well known aspect of the specifications, and it also has the most support in a way. Most browsers already support much of the specification using browser-specific CSS styles. However, there are some new layouts that will make page design much simpler and allow designers to avoid hacking divs into arbitrary structures.

There is a lot of information available on all of the new features, but the best source of information is the developers of the specifications. First, I have tried to include as many links throughout this post to the specifications. The specs may be fairly dry reading, but you can get a good understanding of what the purpose is without reading every line of the spec. There are also a few documents that are targeted at people other than browser developers:

  • HTML5: Edition for Web Authors
  • HTML5: Edition for Web Developers
  • HTML5 Differences From HTML4

 

spacer

4 responses to "A Simple Introduction To HTML5"

  1. TJantunen.com » Whiners are Agents of Change says:
    July 30, 2011 at 5:02 PM

    [...] A Simple Introduction To HTML5 (regulargeek.com) [...]

  2. How to optimize your web based software application for the mobile web « Hub Tech Insider says:
    August 7, 2011 at 6:46 PM

    [...] A Simple Introduction To HTML5 (regulargeek.com) [...]

  3. Getting Your HTML5 Fix: HTML5 At DZone | Regular Geek says:
    October 8, 2011 at 7:31 AM

    [...] if you are looking to find good content on HTML5 technologies, take a look at the HTML5 Microzone at DZone. And maybe you will see some RegularGeek content [...]

  4. Getting Your HTML5 Fix: HTML5 At DZone « Developers.BlogNotions - Thoughts from Industry Experts says:
    October 10, 2011 at 1:19 AM

    [...] if you are looking to find good content on HTML5 technologies, take a look at the HTML5 Microzone at DZone. And maybe you will see some RegularGeek content [...]

gipoco.com is neither affiliated with the authors of this page nor responsible for its contents. This is a safe-cache copy of the original web site.