Hi All, if I have a line in my php code "<td colspan="3" valign="top"><div align="left"><a href="<?=$web?>" target="_blank">" How to make this a a no-follow link? changed to "<td colspan="3" valign="top"><div align="left"><a rel="nofollow" href="<?=$web?>" target="_blank">" is that good - or any other choices / better options? Appreciate any help thanks
The Description on Nofollow is "Links to an unendorsed document, like a paid link. ("nofollow" is used by Google, to specify that the Google search spider should not follow that link)". I hoped this helped you.
Stop using <? is also an answer. Most sites have short tags disabled (and it's deprecated in PHP 6), so <?= will cause the interpreter to barf. Use <? echo instead. It's only 4 more keys to hit and it makes your code universal.
While that is 'good' for setting nofollow -- it's not good markup... since the VALIGN, ALIGN and TARGET attributes have no place on any website written after 1998, since that's presentation, not description. That DIV is also likely in there for no good reason since that's just setting a left/right alignment -- something that could just as easily go on the TD.