HTML Image

HTML Tutorial > HTML Tags > HTML Image


The <img> tag is used to embed an image on the HTML document. The attributes are as follows:
  • src: The file path to the image file.
  • width: The width of the image, in pixels.
  • height: The height of the image, in pixels.
  • alt: The text the browser will display when visitors mouse over the image. Search engines often places more weight on the text in the alt attribute.

Next: HTML Frames

Copyright © 2022   All Rights Reserved     Privacy Policy   About   Contact