wood burning stoves*
The moose likes HTML, CSS and JavaScript and the fly likes tooltip in jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "tooltip in jsp" Watch "tooltip in jsp" New topic
Author

tooltip in jsp

Mohan Mehra
Ranch Hand

Joined: Jul 28, 2011
Posts: 70
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

Joined: Jan 10, 2002
Posts: 60782
    
  65

The title attribute is what you seek.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Mohan Mehra
Ranch Hand

Joined: Jul 28, 2011
Posts: 70
Bear Bibeault wrote:The title attribute is what you seek.

ya right. thanks
 
 
subject: tooltip in jsp
 
Similar Threads
Image is not getting displayed in web application html page
Dynamic images in jsp
image from database display
escape function in jquery
html:file tag and custom image