In this chapter, we've learned the following:
• HTML5 is the latest incarnation of the Hypertext Markup Language. It covers a
• data- attributes help to embed custom data into a web page that can then be used
• The Web Storage API allows key-value pairs to be stored on the user's device in a
similar way to cookies, but without the same storage restrictions.
• The Geolocation API allows you to access the geographic coordinates of the user's
device, as long as the user gives permission.
• The Web Worker API can be used to perform computationally intensive tasks in the
background, which helps to avoid websites becoming unresponsive.
• The <audio> and <video> elements can be employed to embed audio tracks and
video clips in a web page. They also have aMedia API that can help control the
• The canvas element can be used to dynamically draw geometric shapes, fonts, and
• A shim or polyfill is a piece of code that adds support of missing features to older
In the next chapter, we'll cover how to organize and optimize your code.
 There is no actual limit in the specification, but most browsers have a limit set at 5GB per
Search WWH ::