Which code snippet will display an image named myimage.png that will redirect to index.html when the link is selected?
Suggested Answer: C
Get Premium Web Development Foundations (D276) Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
21 comments · newest first
HY
Hyun
2 days ago
I feel confident about this question. B is straightforward.
AL
Aliza
7 days ago
B is the best choice. Clear and functional.
LE
Leonora
12 days ago
D is just a mess. Can't even read it!
CA
Candida
17 days ago
Option C looks weird. The syntax is off.
TA
Tayna
23 days ago
A is totally wrong. No closing tag for the link!
GW
Gwenn
28 days ago
Yeah, B makes sense. It shows the image and links properly.
DI
Dick
1 month ago
I think option B is correct.
BU
Burma
1 month ago
Surprised that people still mix up img and a tags!
BA
Barbra
1 month ago
I agree, B makes the most sense.
TH
Theola
2 months ago
Wait, is D even valid HTML?
FE
Felix
2 months ago
I think A is totally wrong.
FR
Fredric
2 months ago
Option B is the correct one!
JI
Jin
2 months ago
Surprised that C is even an option!
MA
Madonna
2 months ago
I agree with B, looks good to me!
GL
Gladys
2 months ago
Wait, is D even valid HTML?
WA
Walker
3 months ago
I think A is totally wrong.
SU
Sunny
3 months ago
Option B is the correct one!
GL
Glenn
3 months ago
I thought the correct format was to use for links and
for images, so I lean towards A, but it seems wrong too.
AL
Alpha
3 months ago
I'm confused by option D; it looks really off. I feel like the href should point to the link, not the image.
WI
Willow
3 months ago
I remember practicing a similar question, and I think the image needs to be inside the anchor tag, so maybe it's C?
ED
Eden
4 months ago
I think the answer might be B, but I'm not entirely sure about the syntax for the image tag.