The vast majority of non-photographic images seen on Web pages use the GIF format, although the newer PNG format is more and more popular.
GIF (Graphics Interchange Format) is a bitmap graphics format that supports transparency and animation. Developed by CompuServe, GIF is a low-resolution format best suited to on-screen display on the Web, use in online publications, and for on-screen display of screen shots.
Images with large expanses of flat color or those that require transparency (such as transparent backgrounds) are best-suited to the GIF or PNG format. Because GIF reduces images to 256 colors or less it is less suitable for images with millions of colors, such as photographs, although small photos can work well as GIF.