Hyper Text Markup Language (HTML) Question:

How can I display an image on my page?

Tweet Share WhatsApp

Answer:

Use an IMG element. The SRC attribute specifies the location of the image. The ALT attribute provides alternate text for those not loading images. For example:

<img src="logo.gif" alt="ACME Products">

Download HTML PDF Read All 84 HTML Questions
Previous QuestionNext Question
Is there a site that shows which tags work on which browsers?How do I get out of a frameset?