Images

远看山有色,近听水无声。 春去花还在,人来鸟不惊。

王维·画

Basics

Sizes

Positions

File formats

  • PNG
  • JPG
  • GIF
  • SVG

Exercises

  1. Create an HTML page, add an image to it, specify absolute size.
  2. In the above page, add another image with relative size.
  3. In the above page, add a paragraph of text, then mix an image with the text.
  4. When do you choose each image file format?