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

Coding For Designers
  • 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

EXPLANATION

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)”>

Leave a Reply

Your email address will not be published. Required fields are marked *