HTML and CSS Reference
In-Depth Information
myCanvas_context.fillStyle=”#000”;
myCanvas_context.fillText(“Saturn”, 435, 140);
}
</script>
8.
Save your file.
9.
In your browser, open tpa.html to view the page restructured with HTML5 tags, shown in
Figure 28-11.
FiGure 28-11
Watch the video for Lesson 28 on the DVD with the print topic, or watch online
at www.wrox.com/go/html5video to see an example from this lesson that shows
you how to create a simple chart using the <canvas> tag.
Search WWH ::




Custom Search