HTML HTML Basics Images, Text and Links Images and File Paths Challenge

Image element

What is an image element and how do I add it?

index.html
<!DOCTYPE html> 
<html>
  <head>
    <title>The Moon</title>
  </head>
  <body>
   "img src="images/moon.jpg"alt="Picture of moon">

  </body>
</html>

1 Answer