Rise of HTML5, what are the features of HTML5?

26th Aug, 2020 ~4 mins

Overview

HTML5 is a markup language used for structuring and presenting content on the World Wide Web. It is the fifth and latest major version of HTML that is a World Wide Web Consortium (W3C) recommendation. The current specification is known as the HTML Living Standard and is maintained by a consortium of the major browser vendors (Apple, Google, Mozilla, and Microsoft).

HTML5 was first released in public-facing form on 22 January 2008, with a major update and "W3C Recommendation" status in October 2014. Its goals were to improve the language with support for the latest multimedia and other new features; to keep the language both easily readable by humans and consistently understood by computers and devices such as web browsers, parsers, etc.

Video Element

The HTML Video element (<video>) embeds a media player which supports video playback into the web page. You can add video by using <video> element as below:

              
  <video controls width="250">
    <source src="medias/flower.webm" type="video/webm">
    Sorry, your browser doesn't support embedded videos.
  </video>
            

It should results as:

Click here to know more about it.

Audio Element

The HTML <audio> element is used to embed sound content in the web page. It may contain one or more audio sources, represented using the src attribute or the <source> element: the browser will choose the most suitable one.

You can add video by using <video> element as below:

              
    <audio controls src="medias/t-rex-roar.mp3">
      Your browser does not support the <code>audio</code> element.
    </audio>
            

It should results as: