View Sunidhi Sen 's Profile
What do you mean by alt attribute?
What does the alt attribute do?
Asked by Sunidhi Sen | May 19 2018 | Report this Report abuse
Replies (4)
View Bhargav  Mitra 's Profile
It is actually a medium to specify some alternative text for some image when it cannot be viewed by users because of any reason.

Reason could be anything.

For Example:

Slow connection
Some issue in src attribute.
Use of screen reader by users.
Browser compatibility issue.I mean, the use of outdated browser.

Here is the syntax:

Syntax : text

Remember, The text it contains is the part of its values and specified the alternative text for the images.

You have to remember a couple things while using alt attribute.

For Example:

In case your image contains some kind of information, make sure the text describes the image and fully.

If your image is inside element, make sure the destination of the link is definitely explained by the text.

In case the objective of your image nothing but decoration, make use of alt="" if.

I hope you now know a lot about it.
View Jaiwant  Kulkarni 's Profile
It is actually a medium to specify some alternative text for some image when it cannot be viewed by users because of any reason.

Reason could be anything.

For Example:

Slow connection
Some issue in src attribute.
Use of screen reader by users.
Browser compatibility issue.I mean, the use of outdated browser.

Here is the syntax:

Syntax : text

Remember, The text it contains is the part of its values and specified the alternative text for the images.

You have to remember a couple things while using alt attribute.

For Example:

In case your image contains some kind of information, make sure the text describes the image and fully.

If your image is inside element, make sure the destination of the link is definitely explained by the text.

In case the objective of your image nothing but decoration, make use of alt="" if.

I hope you now know a lot about it.
View Ifran  Khan 's Profile
Alt attribute is used just as a Caption for an image. This syntax gives a name to the image as will be displayed when cursor will be placed on the image. This Atl plays a vital role in SEO as google gives +ve points to alt image websites.
May 24 2018 | Report this Report abuse
View Nagesh  Kumar 's Profile
Alt attribute is used just as a Caption for an image. This syntax gives a name to the image as will be displayed when cursor will be placed on the image. This Atl plays a vital role in SEO as google gives +ve points to alt image websites.
May 23 2018 | Report this Report abuse