Why does the image show, but not the text?


#1


Replace this line with your code.


#2

Can you please post the code again, it's pretty hard to find out the problem.


#3

<a
href="https://en.wikipedia.org/wiki/Brown_bear">bear

I can't work out why it won't show the text "bear"


#4

It's just a text, that pops out if browser of the user can't display the picture.
(So if your browser can display the picture, alt will not be shown)


#5

so if i were to scroll over the picture it wouldn't display any other time. only when i fails to load


#6

Bingo. It's a backdoor to escape if everything doesn't work.


#7

i really wish that was mentioned in the lesson. have been on that for hours. you're a legend cheers


#8

It IS mentioned in the lesson. :slight_smile:


#9

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.