Could someone tell me the html code for open in new window and how to redirect one of my web pages also...
Printable View
Could someone tell me the html code for open in new window and how to redirect one of my web pages also...
To make a link open a new window, add target="_blank" to the link code.
Can't help with the redirect though. Sorry.
target="_blank" For opening new blank page
Example: if u want to open a link in new window
And for Image:Code:<a href="http://www.dot.com" target="_blank">
Redirecting: Give Any value u want in "Content" For directing Delay and replace the URlCode:<a href="http://www.dot.com" target="_blank"><img src="http://www.dot.com/image.gif"
Code:<meta http-equiv=Refresh content="8; URL=www.dot.com">
Thanks, how about the code for printing and bookmarking also...
Code:<a href="javascript:addbookmark()">Add this site to favorites</a>
Thanks again but that sure would appear right but didnt work when I tested...
Add to favorites link works with IE, but not Opera or Moz based browsers.
As far as I'm aware, anyway.
the target attribute is deprecated.
Not sure what that means and I am using IE to test but it dont work...Quote:
Originally Posted by motherflux
it should work, but it is no longer a part of the standards as of XHTML 1.0 strict.
your link should look like thisHTML Code:<a href="http://www.whatever.com" target="_blank">link text</a>