Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Alt tag not displayed on browser

Tags:

html

css

alt

I'm testing my code in HTML to make sure I've done everything correctly and I can't seem to get the alt text displayed on my browser. I tried with latest version of Chrome and Firefox..

<center>
<img src="http://www.opstinavinica.gov.mk/vinica/images/logogd.png" align=top alt="E ova e logoto!!!!">Ova e logoto na <b>UGD</b>
</center>

Sorry about the foreign language.. I can translate it if necessarry.

EDIT: What is the tag to display text while mouse is over the image if alt is for displaying text for broken images only?

Example

like image 748
user2699298 Avatar asked Jan 25 '26 01:01

user2699298


1 Answers

Just set a title tag for this to work in modern browsers :

<center>
<img src="http://www.opstinavinica.gov.mk/vinica/images/logogd.png" align=top title="E ova e logoto!!!!" alt="E ova e logoto!!!!">Ova e logoto na <b>UGD</b>
</center>
like image 165
John Slegers Avatar answered Jan 27 '26 14:01

John Slegers



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!