Joint Photographic Experts Group (JPEG) is one of the most popular image file formats for websites. Web designers often choose JPEG for photographs and complex images with plenty of colours. This format is good for keeping file sizes small, which helps web pages load quickly.
However, compressed JPEGs can have reduced image quality. Unlike PNGs, JPEGs don’t support transparency. Web designers weigh up all these factors when choosing image formats.
See also: PNG, WebP, Image compression
Further reading: How to Optimise Images for Better Web Performance