In terms of making a digital image, there are two types, 'bitmap' and 'vector'.
Bitmap images are made up of individual pixels; as the image is enlarged, resolution does not change and the image becomes increasingly pixellated.
Vector images are controlled by equations; this means that as the image is scaled, the resolution does not change. Vector images can be complex, but occupy a small file size.
There are many formats of digital images, but the commonest in use for web sites are .gif, .jpg and .png, with the first two supporting bitmaps images and the latter supporting both.