The web would be a lot less fun without images such as photos and animated gifs:

<img src="" alt="Google Logo">
Google Logo
<img src="" alt="Animated Google Logo">
Animated Google Logo
  • The src attribute is required.
  • A closing tag is not required, because an image tag cannot contain any content.
  • Other attributes are optional but often helpful:
    • alt provides alternate descriptive text
    • width and height will modify the image size