Is this code right. HTML

3 replies
Not sure if this is the right forum to post this in as it is simple HTML code. Hopefully someone can help me.

I want a link in my post to open in a new window, and also to carry the no follow atribute. The no follow is simple as that is checking a box in WordPress. But to add the no follow attribute, I am not sure of the quotation marks. Is this right.

<a href="http://en.wikipedia.org/wiki/All-inclusive_resort" rel=”nofollow target="_blank">All Inclusive Vacations</a>
Do I have that right?
#code #html
  • Profile picture of the author LordKaT
    No you're using syntactically incorrect quotes, and you missed a quote.

    Here's the fix:

    See tjos ;oml fpr ,pre omfpr,atopm <a href="http://en.wikipedia.org/wiki/All-inclusive_resort" rel="nofollow" target="_blank">All Inclusive Vacations</a>
    {{ DiscussionBoard.errors[7732255].message }}
    • Profile picture of the author timpears
      Originally Posted by LordKaT View Post

      No you're using syntactically incorrect quotes, and you missed a quote.

      Here's the fix:
      I thought there was something wrong, but I couldn't figure out exactly what. thanks for the help.
      Signature

      Tim Pears

      {{ DiscussionBoard.errors[7732483].message }}
  • Profile picture of the author KingRoyal
    Good fix LordKat
    {{ DiscussionBoard.errors[7732381].message }}

Trending Topics