webgraphics
Webgraphics is the set of visual content intended for display in web browsers. It includes raster images (bitmap graphics), vector graphics, animations, and interactive graphics created with HTML, CSS, and scripting. Webgraphics are delivered as files or generated in the browser using APIs such as the Canvas API, WebGL, or CSS drawing, and they are typically embedded in web documents through img, picture, or canvas elements and CSS backgrounds.
Raster formats such as JPEG, PNG, GIF, WebP, and AVIF encode bitmap images with varying compression and
Performance and accessibility: Webgraphics should balance quality and file size. Techniques include responsive images with srcset
Rendering and standards: Browsers render webgraphics using engines and APIs. Graphics APIs include the Canvas API,