Advertisements
Advertisements
Question
Abhilasha has just designed a web page. At the end of the web page, she wants to insert an image “next.jpg”. She needs to link another web page with this image, i.e., whenever anyone clicks on the image “next.jpg”, another web page named “second.html” should open. Help her in writing the code to achieve it.
Note: Assume that image and both the web pages are stored in the same folder.
Solution
<a href="second.html"><img src="next.jpg"></a>
Notes
1.5 Marks for correct usage of <img> tag.
1.5 Marks for correct usage of <a> tag.
APPEARS IN
RELATED QUESTIONS
Which image format was standardize by W3C?
The tag used to insert an image in HTML:
In HTML, a piece of text or image can be moved horizontally or vertically by using:
The tag is used to create dropdown list box in HTML is:
Match the following:
(a) <textarea> | (1) inline |
(b) <input> | (2) Video |
(c) <bgsound> | (3) Multiline input |
(d) <embed> | (4) Password |
List out the popular image formats.
What is inline sound or movie?
Write a short note on familiar images format.
Explain the main attributes used with <form> tag.
The attribute of the <IMG> tag used to specify the location of an image is ______.