Advertisements
Advertisements
Question
The ______ attribute of <img> tag specifies an alternate text for an image if the image cannot be displayed.
Options
alt
text
alternate
msg
Solution
The alt attribute of <img> tag specifies an alternate text for an image if the image cannot be displayed.
APPEARS IN
RELATED QUESTIONS
Which image format was standardize by W3C?
In HTML, a piece of text or image can be moved horizontally or vertically by using:
Inline sound can be inserted using which of the following tag?
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.
Write a short note on familiar images format.
The attribute of the <IMG> tag used to specify the location of an image is ______.
Which of the following is not an attribute of <img> tag in HTML?
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.