• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Database URL problem

 
Ranch Hand
Posts: 216
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I'm getting some stuff from a database and one of the fields is a website address. I want it to open a blank (target="_blank") when the user clicks on it. Problem is that I have a problem putting the target=_blank thingy. here is the stuff from the db..
<code>
<td><b>Website Address:</b><a href="<%=website%>"> <%=website%></a>
</code>
So where do I put the target="_blank here>
Thanks for your help in advance.
[This message has been edited by ernest fakudze (edited November 09, 2001).]
 
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
target is an attribute of the <a > tag. So it goes right beside the href attribute.
 
reply
    Bookmark Topic Watch Topic
  • New Topic