• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tooltip in jsp

 
Mohan Mehra
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have a jsp file in which there is a small image. the code for it is: <img src="english flag.jpeg"/> assume it. now when i point over the flag image i should see a textual short information or what you call it tooltip . should i include alt in the code. but it didn't work: <img src="english flag.jpeg alt=" some text""/>
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65216
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The title attribute is what you seek.
 
Mohan Mehra
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear Bibeault wrote:The title attribute is what you seek.

ya right. thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic