What should go between the quotes in the following code example?

  • Nothing; it should always remain blank
  • The location or URL of an image file
  • The CSS coordinates where an image should appear
  • The class name, used in CSS to style the image


The <src> attribute requires the location or URL of an image file. And as a best practice, include an <alt> attribute, which acts as a searchable description of the image file. For example, <img src=”jim-webb.jpg” alt=”Jim Webb (headshot)”>

Share on:
Online Certification Guide

About Author

Hey there, its OnlineCertificationGuide here to help you out in your Journey in the study. So my friend share the site with your friends in case I am helpful to you.