What are the new image elements in HTML5?

Started by jenniferhelen, January 09, 2017, 04:42:56 AM

jenniferhelen


michral86

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.

lollipopp

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.