where to add target="_blank" to this code?

Discussion in 'HTML & Website Design' started by shrinath, Oct 12, 2009.

  1. #1
    <li class='sexy-delicious'><a class='external' expr:href='&quot;
    http://del.icio.us/post?url=&quot;+ data:post.url + &quot;&amp;
    title=&quot; + data:post.title' rel='nofollow' title='Share this on del.icio.us'>
    Share this on del.icio.us</a></li>
    Code (markup):

     
    Last edited: Oct 12, 2009
    shrinath, Oct 12, 2009 IP
  2. MikeLiao

    MikeLiao Peon

    Messages:
    43
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    <a class='external' expr:href='&quot;
    http://del.icio.us/post?url=&quot;+ data:post.url + &quot;&amp;
    title=&quot; + data:post.title' rel='nofollow' title='Share this on del.icio.us' target="_blank">
     
    MikeLiao, Oct 12, 2009 IP
  3. shrinath

    shrinath Well-Known Member

    Messages:
    275
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    100
    #3
    thank you so much MikeLiao ..It worked:)
     
    shrinath, Oct 12, 2009 IP
  4. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    437
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Technically you shouldn't even use it at all. Aside from the fact that people decide whether to open a new page in the same or a new window/tab, but the attribute has been deprecated from the HTML and XHTML specifications. If you WANT to open a new page while adhering to the standards, use JavaScript to do so.
     
    Dan Schulz, Oct 12, 2009 IP