The Essential Guide to HTML5

(Greg DeLong) #1

CHAPTER 4


Table 4-2 shows the complete code for the simplest application, with the ball moving in an arc and no
actual cannon.

Table 4-2. The First Cannonball Application

Code Explanation


Opening html tag
Opening head tag
Cannonball Complete title element
Close style element