HTML5: Latest Features

There are some very user-friendly and efficient features that have been added to HTML5 and which have made HTML5 far more powerful and efficient as compared to the previous versions. Some of the differences are presented:

Consider a code in HTML4:

In the above code, there unfortunately isn’t any easy or semantic way to associate the caption, wrapped in a paragraph tag, with the image element itself. HTML5 rectifies this, with the introduction of the <figure> element. When combined with the <figcaption> element, we can now semantically associate captions with their image counterparts. A better alternative is presented in HTML5:

While using HTML4, it was required to specifically add type attribute to your link and script tags. For example:

With HTML5, This is no longer necessary. It’s implied that both of these tags refer to style sheets and scripts, respectively. As such, we can remove the type attribute all together.

HTML5 when used with new browsers has a nifty new attribute that can be applied to elements, called content editable. As the name implies, this allows the user to edit any of the text contained within the element, including its children. There are a variety of uses for something like this, including an app as simple as a to-do list, which also takes advantage of local storage.

Some other latest features of HTML5 would be discussed in future articles.

Looking for a quality hosting service? here are a few I suggest.
BlueHost | HostGator | Media Temple
Ali has been an entrepreneur in web, video and related technologies. Having worked with many business across the globe, Ali stands truly a great pillar in the business working with him.