Displaying Images in HTML

To Insert an image in the webpage we can use the <IMG> tag.
Attributes of IMG tag:
SRC=URL i.e. Location of image
ALT= Alternate Text if the image is not loading
WIDTH= Image width
LENGHT= Image height
ALIGN=Image alignment(top, middle, bottom, right, left)

<!DOCTYPE html>
<html>
<body>
<h2>Flower Image</h2>
<img src=”flower.jpg” alt=”Flowers” width=”460″ height=”345″>
</body>
</html>

 
also see

C Programming language
Go Programming language
Linked List Array
Stack Queue
Puzzle Reasoning
Aptitude Simplification
Previous articleDBMS Terminology
Next articleHTML Tables

LEAVE A REPLY

Please enter your comment!
Please enter your name here