Computer Science, asked by Jas41, 1 year ago

How to add image in a code of HTML?

Answers

Answered by 91350442123
0
Upload your image. There are many free image hosting services, such as Picasa Web Albums, Imgur, Flickr, or Photobucket. ...

Open your HTML file. Open the HTML document for the web page where the image will be displayed. ...

Begin with the img tag. ...

Find the URL of your image. ...

Save your changes.

Answered by siddhartharao77
1
The img tag is used to put an image in an HTML document.

Ex:<img src = "D:\HTML\Image.png"  alt=Siddhartha">

The src Attribute tells the browser about the location of the image.

The Alt attribute is used when u cannot find the image at the URL.


Hope this helps!
Similar questions