Glom Posted October 12, 2006 Share Posted October 12, 2006 I've seen code like this for a link. <a title="click for home" href="http://northsea.bpweb.bp.com/Northsea/homepage.asp">Home</a> This "title" attribute is interesting. It seems like the alt attribute for images, giving a little popup description when you place the cursor over it. Is that attribute still valid? Link to comment Share on other sites More sharing options...
aspnetguy Posted October 12, 2006 Share Posted October 12, 2006 sure is Link to comment Share on other sites More sharing options...
Glom Posted October 12, 2006 Author Share Posted October 12, 2006 That's good. It seems to be missing from the w3schools references. Link to comment Share on other sites More sharing options...
scott100 Posted October 12, 2006 Share Posted October 12, 2006 This "title" attribute is interesting. It seems like the alt attribute for images, giving a little popup description when you place the cursor over it.You should be using title for that little pop up message, that includes images.Alt is used as an alternative text to be displayed when the image fails to load, for some reason Internet Explorer also uses the alt text as a pop up message, no other browser does this. If you specify both the alt and title as an image attribute the the title takes priority in the pop up message That's good. It seems to be missing from the w3schools references.It is there, you just have to look for it.See this page: http://www.w3schools.com/tags/tag_select.aspIf you scroll halfway down you will see a list of Standard Attributes for this tag, these areid, class, title, style, dir, lang, xml:lang, accesskey, tabindex Similar information is available on all tags Link to comment Share on other sites More sharing options...
holmedwa04 Posted October 14, 2006 Share Posted October 14, 2006 Wow, I never knew about this code, it is very useful actually, I am going to go through quite a lot of my links and add it to them! 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