HTML Tutorial

Image Element

The image element is used to display a given image to the screen.


Attribute Value
src The path (URL) to the image that should appear when the page loads.
alt A few words of text that appear whenever the image fails to load.



		Follow me on Twitter:<br />
		<img src="../img/twitter.png" alt="Follow me on Twitter" />.

Screen Output:

Follow me on Twitter:
Follow me on Twitter