Best Code for Building Links?

6 replies
  • SEO
  • |
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


#building #code #html #links #php
  • Profile picture of the author Wham
    <a href="website">what you want to say</a>

    that's what i use works fine
    {{ DiscussionBoard.errors[1242587].message }}
  • Profile picture of the author Serenity090
    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?
    Signature

    Love the Humanity...:)

    {{ DiscussionBoard.errors[1242601].message }}
  • Profile picture of the author meldave
    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
    {{ DiscussionBoard.errors[1243664].message }}
  • Profile picture of the author Sixer
    I think this help me too. thanks for sharing
    {{ DiscussionBoard.errors[1250460].message }}
  • Profile picture of the author WebSolutionKey
    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.
    {{ DiscussionBoard.errors[1594691].message }}
  • Profile picture of the author jazbo
    Just dont use the target bit, its telling you that in the error messages....
    Signature
    CONTENT WRITER. Reliable, UK-Based, 6 Years Experience - ANY NICHE
    Click Here For Writing Samples & Online Ordering
    {{ DiscussionBoard.errors[1594977].message }}

Trending Topics