This is a png image and is placed before the paragraph element.
This is a jpeg image and is placed inside the start of a paragraph element.
This is a jpeg image and is placed inside the middle of a paragraph.
Use jpeg for photographs and multicolor images. Use png or gif for moslty solid color and flat images.
Use CSS to control the alignment of images.