02 HTML Img, Link, Table, List, Forms and Other Concepts
02 HTML Img, Link, Table, List, Forms and Other Concepts
LECTURE - 02
IMAGE IN HTML
• The Image element <IMG….> is used to incorporate
inline graphics (typically icons, images) into an HTML
document.
• Browsers that cannot render inline images ignore the
Image element unless it contains the ALT attribute.
• Example:
<img src="images/imagename.png" alt="rainy"
width=“400px" height="500px" style="border: 5px
solid">
<dl> Fromage
<dt><b>Fromage</b></dt> French word for cheese.
<dd>French word for cheese.</dd> Voiture
<dt><b>Voiture</b></dt> French word for car.
<dd>French word for car.</dd>
</dl>
• Example 2
http://www.w3schools.com/html/html_form_input_types.asp