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 how to display page in new tab? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "how to display page in new tab?" Watch "how to display page in new tab?" New topic
Author

how to display page in new tab?

sree hareesh
Greenhorn

Joined: Nov 16, 2011
Posts: 11
Hi all,

when i click a link, the page should be loaded in new tab. how can i do it using html.

Thanks in advance
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60049
    
  65

Use the target attribute on links, setting it to "_blank".

You cannot control whether the page will open in a new page or a tab; that is a browser setting that the user chooses.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
sree hareesh
Greenhorn

Joined: Nov 16, 2011
Posts: 11
ThanQ Bear Bibeault .
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to display page in new tab?
 
Similar Threads
html error
how to open page in new tab
birt cross tab page break + highlight rules
How to make browser remember in-page navigation history?
Firefox breaks 20,000,000 downloads!