src= "Picture path" > introduce pictures in HTML via
Common image formats are JPEG (JPG), png,gif ...
Pictures in JPEG (JPG) format:
JPEG (JPG) format pictures support More colors, pictures can be compressed, do not support transparent
Generally use JPEG (JPG) format to save more colorful photos
Pictures in GIF format:
Images in GIF format support less color, only support simple transparent (straight-line area transparent), support dynamic diagram
Picture color But one, or a picture in GIF format when moving a graph
Images in PNG format:
PNG supports more colors and supports complex transparency
Can be used to display transparent pictures with complex colors (the most frequently used in practice)
The principles of the use of images:
The effect is inconsistent, the use effect is good. The effect is consistent with the small.
The difference and use of several image formats in HTML