HTML and CSS Reference
The HTML5 canvas allows you to draw lines, curves, paths, shapes, images, and text using the canvas API.
The drawing context object provides methods and properties to perform the drawing operations just
mentioned. You can also add fancy frills to your drawing objects such as shadows, gradients, and
transparency. The canvas also lets you save the canvas state programmatically. Using jQuery code, you can
transfer the canvas drawing to the server as a Base64 string. In this chapter, you learned all this and also
developed a simple yet functional charting application using the canvas API, jQuery, and ASP.NET MVC.
Chapters 3 and 4 discussed the audio, video, and graphics provisions of HTML5. One area that attracts
any ASP.NET developer developing data-driven web applications is the forms enhancements such as new
input types and validations. The next chapter dissects these enhancements and shows how you can use
them in ASP.NET web forms as well as MVC applications.