cursor is a style. But title is not. title is an attribute of a tag.
There are only a few things in CSS that can also be used as attributes of
tags. But title is not one of them. He\She can set a title with JavaScript
like this:
For IE browsers:
<!-- -->
<a id="oLink" href="apage.htm" title="1st Title">Click Me</a>
<!-- -->
<script language="javascript" type="text/javascript">
<!-- Begin
var oldTitle = '';
var newTitle = '';
var new_t = document.getElementById('oLink');
oldTitle = new_t.getAttribute('title',2);
newTitle = new_t.setAttribute('title','2nd Title');
// End -->
</script>
<!-- -->
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.