Programmes

Tuesday 17 May 2011

Some new features in HTML5

A new article has been posted on eTechy101.com.
The post title is 'HTML5: Latest Features'. Below is a preview of the post.

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:

<img src="path/to/image"
alt="About image" />
<p>Image of Mars. </p>

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:

No comments:

Post a Comment