How to display a red square, with the canvas element:
The <canvas> tag is used to display graphics.
The <canvas> tag is only a container for graphics, you must use a script to actually paint graphics.
The <canvas> tag is new in HTML5.
Hint: Any text inside the between <canvas> and </canvas> will be displayed in browsers that does not support the canvas element.
The <canvas> tag also supports the Standard Attributes in HTML5.
The <canvas> tag also supports the Event Attributes in HTML5.
Your Query was successfully sent!