What are the new image elements in HTML5?
The new image elements in HTML5 are Canvas and WebGL.
Canvas is a new element that acts as a container for graphical elements like images and graphics.
Coupled with JavaScript, it supports 2D graphics.
WebGL stands for Web Graphics Language, a free cross-platform API that is used for generating 3D graphics in web browsers.
New graphics elements are canvas and svg. While image syntax is same as before which is img And you can use style to determine it's width and height. All the things are same as previous versions.
The new image element in HTML5 are : <canvas> and <svg>