Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HTML question 1

Status
Not open for further replies.

StressedTechie

Technical User
Joined
Jul 13, 2001
Messages
367
Location
GB
I have a quick question.

I have been given the task of populating our newly designed website with content.

I have knowledge of dreamweaver and am using that to create HTML code and paste onto our website.

My question is:

I would like to make a link to another website but I wish this to open in a new window leaving our website open in the background.

I would expect it to be an easy flag like <new window></new window> but I do not know the correct syntax.

Any ideas!!

Thanks Guys
 
Your link code looks like this at the moment:

<a href=&quot;page.htm&quot;>Link Text</a>


Just change it to:
<a href=&quot;page.htm&quot; target=&quot;_blank&quot;>Link Text</a>


There's also the option to do this automatically in the properties box when you select a link.

Hope that helps
Sarah





User_timtom.jpg
WASN'T FIT ENOUGH FOR THE POLICE FORCE
 
TIMTOM
Thanks Sarah you are a star. Its fixed and working a treat! Thank you
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top