I am new to html.
I have the question
Why i am use Alt tag in html ??????
Thanks for the answer.
The alt attribute of the img tag is designed to display a descriptive piece of text about the image.
It's use is for those who may be visually impaired and use a screen reader or simply those who choose to browse the web in a text based browser such a Lynx.
actually, it would be a lot better if everybody ~did~ forget about that
the alt attribute is intended to provide a textual description when an image cannot be shown
the fact that it is often larded with seo crap is unfortunate and to be regretted
Any tag? AFAIK it's for img and area tags, NOT anchor tags. Perhaps you're confusing it with the title attribute?
Firstly I'll inform you that it's an attribute of any tag and it's play an important role for URL Link where visitor see the extra information like that
<a href="URL" alt="Visit My site">Example</a>
And the alt-Tag is used for SEO issues, not to forget about this...