Is my code right ???
PHP Code:<div class="storyTitle"><h3><a href="http://www.domain.com" target="_blank"rel="bookmark"rel="nofollow" >
Is my code right ???
PHP Code:<div class="storyTitle"><h3><a href="http://www.domain.com" target="_blank"rel="bookmark"rel="nofollow" >
Yes that is right.
target="_blank" rel="bookmark" rel="nofollow"
rel simply just states the relation from your site to the linked site.
Some other ones are
- alternate
stylesheet
start
next
prev
contents
glossary
copyright
chapter
section
subsection
appendix
help
bookmark
nofollow
licence
friend
SonnyCooL (31 January, 2010)
Oh, I totally forgot, you can do that.
rel="bookmark nofollow"
SonnyCooL (13 February, 2010)
Yes, you can shorten it...Oh, I totally forgot, you can do that.
rel="bookmark nofollow"![]()
SonnyCooL (13 February, 2010)
when i try to use the target blank and ref no follow in php but it turn out some error ...
the code i use:
error msg :PHP Code:<?php if ($pro_link == "") { ?> <?php } else { echo "<br /><br /><a href=".$pro_link." target="_blank" >rel="nofollow" <strong>Contact Buyer</strong></a>"; } ?>
anyone can help ?Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in \domains/domain.com/public_html/wp-content/themes/domain/inner_content.php on line 48
You need to escape the quotes,
i.e. :
also you've got the > before the rel when it should be after.Code:target=\"_blank\" rel=\"nofollow\"
SonnyCooL (13 February, 2010)
Hi,
I understand nofollow and blank. What do the others do?
Sami
Bookmarks