Computer Science, asked by kiran30374, 5 months ago

Explain how images can be added into an HTML document by giving suitable example.​

Answers

Answered by Anonymous
10

The <img> tag is used to add images in HTML.

Example:

<html>

<body>

This is an image

<p>

<img src="brainly.jpg" alt="brainly" width="100px" height="100px" >

<!--if the image is in same folder-->

</p>

</body>

</html>

We will use <img src= folder/img.jpg> if image is in different folder which is named as "folder"

Similar questions