File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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: 66
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: 60057
    
  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: 66
Bear Bibeault wrote:The title attribute is what you seek.

ya right. thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: tooltip in jsp
 
Similar Threads
image from database display
Image is not getting displayed in web application html page
html:file tag and custom image
escape function in jquery
Dynamic images in jsp