Mr Arnold
Mr Arnold

Reputation: 11

How to make a link open in new tab and Nofollow

I tried adding the target="new" and target="_blank" in the code, but it's not working.

<b:loop values='data:links' var='link'>
  <li expr:class='&quot;social-item &quot; + data:link.name'>
    <a expr:href='**data:link:target**'>
      <i class='item-icon fa'/>
      <div class='remove-count'>
        <data:link.name/>
      </div>
      <span class='item-text'>Followers</span> 
    </a>
  </li>
</b:loop>

Upvotes: 1

Views: 7804

Answers (1)

Axion
Axion

Reputation: 722

I'm not sure what's going on with your code but to make a link open in a new tab and nofollow you would do something like this.

<a href="" target="_blank" rel="nofollow" >Link Text</a>

Upvotes: 6

Related Questions