What Is HTML5?

HTML5HTML5 is the recent version of the Hypertext Markup Language (HTML5). It’s the code used to describe WebPages, and encompasses detailed processing models to enhance the best and complex implementations. HTML5 being the latest development in the HTML word, serves as the backbone of most websites.

There’re many benefits that come with this new html version and there’re numerous reasons why you should consider it in your everyday web design. Over time, web developers have nipped, improved and stretched HTML4 beyond its original scope in a bid to enhance multimedia and websites’ interactivity. While plug-ins such as Flash, Silverlight and Java have managed to integrate media in the web, this has unluckily come with some costs.

There has always been a rivalry between HTML5 and Flash because of the dominancy in creating interactive web elements like ads and games. In matters of speed and features, hands go down for Flash. Plug-ins have the capacity to do so than web browsers. Conversely, HTML works in a bigger percentage of browsers in mobile/tablet devices.

A couple of HTML5 features include:

  • Video elements
  • Audio elements
  • Canvas elements

Example

1. Play a video in HTML5

<video width=”320″ height=”240″ controls>
<source src=”movie.mp4″ type=”video/mp4″>
<source src=”movie.ogg” type=”video/ogg”>
</video>

2. Play and audio file in HTML5

<audio controls>
<source src=”horse.ogg” type=”audio/ogg”>
<source src=”horse.mp3″ type=”audio/mpeg”>
</audio>