HTML5, Canvas, and JavaScript
HTML5 was released in 2012 and became standardized in 2014, which caused browsers to support all sorts of new features. The introduction of HTML5 impacted the realm of possibilities that are available through JavaScript. The options for graphics, videos, interaction with graphics, and a lot more with JavaScript have increased tremendously since the introduction of HTML5, and have been so revolutionary that in fact, they led to the end of support of Flash by web browsers.
HTML5 allows web page(s) to be better structured by adding new elements, such as <header>
. And also the DOM has improved quite a bit, which has led to increased performance. There are quite a few other additions and you'll see some of them in the chapter. Another fun (and useful) addition worth mentioning here is the <canvas>
element, which we'll cover in this chapter as well.
JavaScript gives us a lot of amazing features already, but together with HTML5...