Best Code for Building Links?

by 6 replies
7
Hello Allz...

Whenever i try to build a link on some blogs i get this message:

Your HTML cannot be accepted: Attribute "TARGET" is not allowed: <a href="http://www.yourwebsite.com/" target="_blank">
You can use some HTML tags, such as <b>, <i>, <a>

While i have seen many comments with anchored text links....what kind of
codes they use other than HTML?

Please assist in this regard

Best Wishes


#search engine optimization #building #code #html #links #php
  • <a href="website">what you want to say</a>

    that's what i use works fine
  • Thanks Wham: I have tried this:

    <a href="http:/ rwebsite.com/" target="_blank">What you Want To Say</a>

    But Getting this message:

    Your HTML cannot be accepted: Attribute "TARGET" is not allowed: <a href="http://www.yourwebsite.com/" target="_blank">
    You can use some HTML tags, such as <b>, <i>, <a>

    Is there any better solution?
  • You have one set of comma's to many after the equal sign as a matter of fact I don't use comma's at all around the command. You might have to take the target command out alltogether as Wham mentioned in the earlier post.

    David
  • I think this help me too. thanks for sharing
  • The reason usually coders use target="_blank" is to make your link open in new tab. Usually <a href="http:// yourwebsite.com/" >What you Want To Say</a> opens up in the same window. So if anyone clicks on the link it will redirect from existing webpage. To avoid this issue we use target="_blank".

    It makes no difference whether you use it or not. If it doesn't work, remove it and use coding as wham said.

    Paul.
  • Just dont use the target bit, its telling you that in the error messages....

Next Topics on Trending Feed