![]() |
![]() |
#1 (permalink) |
Junkie
|
Silly newbie HTML query
OK, so I never claimed to be a HTML expert, or even mildly capable for that matter.
What I need is for someone to tell me the correct HTML syntax to use in a hyperlink that will result in the link being opened in a new window. Putting in links to URLs is no problem (even for me), but they end up in my browser leaving the original page. I want the link to open a new window. Can someone help me out? I know it's a dumb question... ![]() Mr Mephisto |
![]() |
![]() |
#2 (permalink) |
Psycho
Location: Boston, MAss., USA
|
What you want to do is add the following in the A opening tag:
target="_blank" so your link will look like: <A HREF="link destination" target="_blank"> text info here. </A> If TFP parses my example into a "real" link, just grab a view source off the page to see it.
__________________
I'm gonna be rich and famous, as soon I invent a device that lets you stab people in the face over the internet. |
![]() |
![]() |
#4 (permalink) |
Psycho
Location: Boston, MAss., USA
|
Silly question, but are you running a pop up stopper when you test? Maybe it's blocking the new window?
__________________
I'm gonna be rich and famous, as soon I invent a device that lets you stab people in the face over the internet. |
![]() |
![]() |
#7 (permalink) |
Psycho
Location: Boston, MAss., USA
|
No problem....If you're wanting a good tutorial/reference, the Definitive HTML Guide (Koala on the cover) is real good, it's where I go for the html bits I can't rembemer.
__________________
I'm gonna be rich and famous, as soon I invent a device that lets you stab people in the face over the internet. |
![]() |
![]() |
#8 (permalink) |
Upright
Location: New Zealand
|
if you dont want to use Notepad (yes, the shitty little text editor that comes with windows), i can highly reccomend Editpad light.
code in plain text....its the best way to learn. and yeah, <a href="http://www.blabla.com" target="_blank">text here</a> is the right code. |
![]() |
![]() |
#9 (permalink) |
Loser
Location: Paradise
|
<a href="http://www.blabla.com" target="_blank">text here</a>
Now isn't that special... Lets try another... <a href="http://www.ibonedyourmom.com" target="_blank">lets go back to your special place</a> Last edited by cheesemoney; 02-02-2004 at 08:58 PM.. |
![]() |
![]() |
#10 (permalink) | |
beauty in the breakdown
Location: Chapel Hill, NC
|
Quote:
__________________
"Good people do not need laws to tell them to act responsibly, while bad people will find a way around the laws." --Plato |
|
![]() |
Tags |
html, newbie, query, silly |
|
|