HTML and CSS Reference
<div style="position: absolute; top: 50px; left: 50px;">
<canvas id="canvasOne" width="500" height="500">
Your browser does not support HTML5 Canvas.
Since this is not a topic about the HTML5 <audio> tag, we did not cover every aspect
of that new feature. Instead, we focused on the elements of audio that could be used
with HTML5 Canvas. We created two in-depth applications that make use of sound
with HTML5 Canvas in very different ways: an audio player that plays one song, and
a game that plays many sounds dynamically. During that process we learned that audio
in HTML, while being a wonderful new feature, is not without its pitfalls and gotchas.
In the next two chapters we will expand upon the last section we presented here, and
discuss how to implement games on HTML5 Canvas.