This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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: 60810
    
  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
Firefox breaks 20,000,000 downloads!
How to make browser remember in-page navigation history?
birt cross tab page break + highlight rules