CoderTools
Independence Software LLP
Login to CoderTools Sign-in to CoderTools

HTML Images - the <img> Tag


Description


To use images in HTML pages you need to use the <img> tag.

Examples for <img>


For example:

<img src="./image.jpg" />

Attributes for <img>


Name Values Description
align bottom|center|left |middle|right|top aligns the image
bgcolor #rrggbb or color name specifies the background color of the row. This overrides the bgcolor of the table element.
valign top|middle|bottom|baseline specifies the vertical alignment of the cells content within the row.