amitamberker Posted July 6, 2012 Share Posted July 6, 2012 Hello Everyone,Any idea why alt="..." tag is not working anymore? Maybe HTML 5 does not need alt tag anymore? Should I consider using title="..." tag? <img src="http://4.bp.blogspot.com/--H2CoC1Kbdw/T7PUPBFjYdI/AAAAAAAAAB4/HMU4gyl3exo/s1600/W3SchoolsLogo.png" alt="WHY ALT TAG IS NOT WORKING ANYMORE?" title="THIS WORKS PERFECT!" />By the way:1. alt and title should be referred as Element or Tag? - (I think tag)2. img should be referred as Element or Tag? - (I think element) Link to comment Share on other sites More sharing options...
justsomeguy Posted July 6, 2012 Share Posted July 6, 2012 It's an attribute. The alt attribute still works, it is still the text to show if the image isn't displayed. That's always been the purpose of it. The title attribute is the text to show when you hover over the image. IE used to show the alt text when you hover, which wasn't the purpose of it. 1 Link to comment Share on other sites More sharing options...
amitamberker Posted July 6, 2012 Author Share Posted July 6, 2012 It's an attribute. The alt attribute still works, it is still the text to show if the image isn't displayed. That's always been the purpose of it. The title attribute is the text to show when you hover over the image. IE used to show the alt text when you hover, which wasn't the purpose of it. Hi justsomeguy, Oh! Okie... Okie... Thanks a lot for the clarification. I understood now. So, should I use alt and title attributes in all the img tags? By the way img is referred as tag or element? Link to comment Share on other sites More sharing options...
justsomeguy Posted July 6, 2012 Share Posted July 6, 2012 "<img>" is a tag that represents an img element in the DOM. The alt attribute is required, the title is optional. 1 Link to comment Share on other sites More sharing options...
amitamberker Posted July 6, 2012 Author Share Posted July 6, 2012 "<img>" is a tag that represents an img element in the DOM. The alt attribute is required, the title is optional. Hi justsomeguy,Great!... I understood now. Thanks a lot Mate - TOPIC CLOSED - Link to comment Share on other sites More sharing options...
amitamberker Posted July 7, 2012 Author Share Posted July 7, 2012 Hey justsomeguy,Why did you move this POST (Discussion) from "HTML/XHTML" segment to General" segment? Any specific reason? Because, I think I made this POST in "HTML/XHTML" segment... Link to comment Share on other sites More sharing options...
thescientist Posted July 7, 2012 Share Posted July 7, 2012 (edited) it wasn't moved. If it had been, you would still see it in the HTML/XHTML forum with an arrow next to the title. Although, it probably could be moved to the HTML/XHTML forum. Edited July 7, 2012 by thescientist Link to comment Share on other sites More sharing options...
amitamberker Posted July 7, 2012 Author Share Posted July 7, 2012 it wasn't moved. If it had been, you would still see it in the HTML/XHTML forum with an arrow next to the title. Although, it probably could be moved to the HTML/XHTML forum. Hi thescientist,Thanks for your clarification. By the way I am just wondering if I did this post in General" segment or "HTML/XHTML" segment. I think this post should be in "HTML/XHTML" segment. So, how do I move it to "HTML/XHTML" segment? I have never moved My Threads (postings) from One Segment to Another Segment. I have no idea how to do it. I thought perhaps justsomeguy would have moved it from "HTML/XHTML" segment to General" segment. Maybe I might be wrong... So, how do I move it now? Link to comment Share on other sites More sharing options...
thescientist Posted July 9, 2012 Share Posted July 9, 2012 a moderator can do it. Link to comment Share on other sites More sharing options...
eTianbun Posted July 9, 2012 Share Posted July 9, 2012 You cant move it, that job is left for the mods. Link to comment Share on other sites More sharing options...
Guest So Called Posted July 9, 2012 Share Posted July 9, 2012 Use the report post function on the OP and request the topic be moved to the proper forum area. Link to comment Share on other sites More sharing options...
amitamberker Posted July 9, 2012 Author Share Posted July 9, 2012 Okie, gotch you. Thank you All... Link to comment Share on other sites More sharing options...
amitamberker Posted July 10, 2012 Author Share Posted July 10, 2012 Moderator (maybe justsomeguy) has moved this Thread to "HTML/XHTML" segment.Thank you for moving this Post into proper section.- TOPIC CLOSED - Link to comment Share on other sites More sharing options...
Guest So Called Posted July 10, 2012 Share Posted July 10, 2012 What do you mean "topic closed?" Members can't close topics. Link to comment Share on other sites More sharing options...
eTianbun Posted July 10, 2012 Share Posted July 10, 2012 What do you mean "topic closed?" Members can't close topics. Well, that means: Problem solved & no need to add addition post(s). Link to comment Share on other sites More sharing options...
Guest So Called Posted July 10, 2012 Share Posted July 10, 2012 Well first he wanted to move it, so the moderators went to the effort of moving it, and now he wants it closed. I guess that's what the OP's title means "Drama." Link to comment Share on other sites More sharing options...
Guest So Called Posted July 10, 2012 Share Posted July 10, 2012 - TOPIC CLOSED - Just edit your OP and add SOLVED to the title. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now