Before we start going crazy with our images on the website, we need to understand some basics about the type of image file formats we can use on the Web and how to choose the best one for the job. As mentioned, there are three image formats that are supported by nearly all web browsers. The one you pick depends on how many colors are there in your image and whether it has any transparent areas.
They are as follows:
Here's an overview of each image file format:
.jpg) stands for Joint Photographic Experts Group and was developed to store photographic images. This format supports millions of colors, but is known as a lossy format, meaning it throws away fine details to compress the image into a smaller ...