The Essential Guide to HTML5

(Greg DeLong) #1

CHAPTER 2


draw2 called by drawface in 2 faces for 2 and 3


draw4 called by drawface in 3 places for 4, 5 and 6


draw2mid called by drawface in 1 place for 6


Table 2-4. The Complete Two-Dice Application

Code Explanation


Opening html tag
Opening head tag
Throwing dice Full title element