I want to know what the difference is between alt=” and name=”
Would it be better to put the filename within the alt tag, or the description of the photo?
What makes better sense, both from SEO and validation stand-point?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
nameattribute exists only to provide a name to refer to in JavaScript.altattribute provides an alternate description for search engines, blind people, when the image could not be loaded, etc.titleattribute provides a description which will be shown when the user hovers over the image with his mouse – some (but not all) browsers will use thealtattribute for this purpose when there is notitle