Images

Writing Text to the Canvas

Images

         To view the accompanying video for this lesson, please visit mhprofessional.com/nixonhtml5/.

This lesson continues our exploration of the HTML5 canvas by looking at how you can write text to it, including using a variety of fonts and styles, as well as incorporating the various fill styles covered in the previous lesson.

Many of these examples draw on those in Lesson 10, so you may wish to refer back to that from time to time as you work your way through this one.

Writing Text

HTML 4.01 provides some handy tags ...

Get HTML5: 20 Lessons to Successful Web Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.