"More than art, more than literature, music is universally accessible." – Billy Joel
In this chapter, we will learn how to use audio by creating a virtual piano application. First, we will learn about the HTML5 Audio element and API. Then we will create an audio manager to load audio files asynchronously and cache them for playback later. We will create a keyboard using HTML elements and style it using CSS.
We will learn the following in this chapter:
<audio>element and its attributes