I have a table one of whose column displays the employee id of the employees. i need to display there names when mouse moves on it . can anyone help me with that??
Unlike the Microsoft Internet Explorer browser, Mozilla Firefox, Google Chrome, and other browsers do not display the text used in the alt attribute when hovering over an image. The alt text is designed to display when an image doesn't load, whereas the title text is designed to display balloon text for images that do.
We now have our link. to add mouseover text, just use the "title" attribute, like so: <a href=" " title="This is some text I want to display. ">This link has mouseover text. </a> (see the next line to check this out in action.) This link has mouseover text.
alt
is an attribute, not a tag, and it is not for mouse over, it shows up when image is not loaded, try using title
instead
So try this
<table> <tr> <td title="Employee Name">1</td> <td title="Another Employee Name">2</td> </tr> </table>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With