HTML5 – A Selection of Supported Features



In this article I want to do a brief review on great features newly added to HTML5. These features changes the web design technologies and can lead to great changes in future web sites than recent ones.

Instead of using old Doctypes like below:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Just use the following code:

<!DOCTYPE html>

Web Messaging:

This specification defines two mechanism for communicating between browsing contexts in HTML documents. To read more see here.

When using old html image tags like below, there was hard to put captions.

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

By this new feature you can easily do the job perfectly.

<figure>
    <img src="path/to/image" alt="About image" />
    <figcaption>
        <p>This is an image of something interesting. </p>
    </figcaption>
</figure>


Be the first to comment

Leave a Reply

Your email address will not be published.


*