HTML5 canvas tutorial

last modified July 17, 2023

This is HTML5 canvas tutorial. In this tutorial we learn the basics of JavaScript programming in HTML5 canvas. The HTML5 canvas tutorial is suitable for beginners and intermediate programmers.

Table of contents

HTML5 canvas

Canvas is a HTML5 element which renders 2D shapes and bitmap images. The drawing on the canvas is peformed with the JavaScript language.

Related tutorials

Java 2D tutorial teaches 2D graphics in Java. Cairo tutorial teaches 2D graphics in Cairo library and C language.


My name is Jan Bodnar and I am a passionate programmer with many years of programming experience. I have been writing programming articles since 2007. So far, I have written over 1400 articles and 8 e-books. I have over eight years of experience in teaching programming.