How to insert an image in html and how to assign a hyperlink connecting that image in another window.Please answer fast tmrws my exam.
Answers
Answered by
1
Hi,
How to insert an image in html?
You can add an image in html document using <img> tag and then setting its src attribute to the actual location/path of that image.
example: <img src="location/of/image/example.jpg" />
how to assign a hyperlink connecting that image in another window?
You can assign a hyperlink to that image by wrapping that image in <a> tag.
example:
<a href="location/of/your/html/file.html">
<img src="location/of/image/example.jpg" />
</a>
Similar questions
Computer Science,
7 months ago
Computer Science,
7 months ago
English,
7 months ago
Science,
1 year ago
Math,
1 year ago
Science,
1 year ago