Computer Science, asked by 8578079200, 1 year ago

How we insert the image in HTML Program.

Answers

Answered by QuestionEverything
1
Using Tag
<img src="Filename.extention">

8578079200: I use this tag but it is not working this program.
RehanAhmadXLX: Will You Please Send Your Coding in My INBOX
RehanAhmadXLX: It did not work. May be because of Wrong file name..
Answered by RehanAhmadXLX
9
Heya !!!

This is Your Answer...

To Insert an image in HTML, <img> is used. 
Some attributes for <img> are ...
<img src="image.jpg" height="200" width="200">

Let me show an example...
Use "PAINT" an draw any picture and name it "1.png".  
To insert this picture in HTML, Coding is given below...

<html>
<head>
<title> Image Insertion </title>
</head>
<body>
HTML stands for Hyper Text MarkUp Language. A picture is given below :- <br>
<img scr="1.png" 
height="300" width="200">
</body>
</html>

Hope It Helps
Similar questions