Warrior Forum - The #1 Digital Marketing Forum & Marketplace

Warrior Forum - The #1 Digital Marketing Forum & Marketplace (https://www.warriorforum.com/)
-   Programming (https://www.warriorforum.com/programming/)
-   -   Is this code right. HTML (https://www.warriorforum.com/programming/753079-code-right-html.html)

timpears 12th February 2013 04:59 PM

Is this code right. HTML
 
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.

Quote:

<a href="http://en.wikipedia.org/wiki/All-inclusive_resort" rel=”nofollow target="_blank">All Inclusive Vacations</a>
Do I have that right?

LordKaT 12th February 2013 05:00 PM

Re: Is this code right. HTML
 
No you're using syntactically incorrect quotes, and you missed a quote.

Here's the fix:

Quote:

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>

KingRoyal 12th February 2013 05:29 PM

Re: Is this code right. HTML
 
Good fix LordKat

timpears 12th February 2013 05:52 PM

Re: Is this code right. HTML
 
Quote:

Originally Posted by LordKaT (Post 7732255)
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.


All times are GMT -6. The time now is 05:05 PM.