Code for linking to authority

5 replies
Hi, how do I place this code "<a style="text-decoration: none; color: black;" href="http://www.url.com">Keyword</a>" in HTML without it being visible at Visual. I am using ProReview Theme. Thanks
#authority #code #linking
  • Profile picture of the author Jonas B
    display: hidden;
    Signature
    Proud owner of the most flexible mobile app builder. Check it out at http://bit.ly/hybrica!
    Mobile Web Expert & Android Developer
    {{ DiscussionBoard.errors[4834283].message }}
    • Profile picture of the author andrejvasso
      There are two possible ways to hide an element. It depends on what exactly you are trying to achieve.

      Number one (see Jonas´ answer)

      Code:
      <a style="text-decoration: none; color: black;display:none" href="http://www.url.com">Keyword</a>
      This will hide the link completely.

      Number tow

      Code:
      <a style="text-decoration: none; color: black;visibility:hidden" href="http://www.url.com">Keyword</a>
      This will hide the link, but it will still take up space in your layout.
      {{ DiscussionBoard.errors[4834427].message }}
      • Profile picture of the author kokonne
        Originally Posted by andrejvasso View Post

        There are two possible ways to hide an element. It depends on what exactly you are trying to achieve.

        Number one (see Jonas´ answer)

        Code:
        <a style="text-decoration: none; color: black;display:none" href="http://www.url.com">Keyword</a>
        This will hide the link completely.

        Number tow

        Code:
        <a style="text-decoration: none; color: black;visibility:hidden" href="http://www.url.com">Keyword</a>
        This will hide the link, but it will still take up space in your layout.
        I have tried the both codes but the problem is that after placing the code and switch back to Visual some sentence disappear.
        {{ DiscussionBoard.errors[4858881].message }}
        • Profile picture of the author andrejvasso
          Originally Posted by kokonne View Post

          I have tried the both codes but the problem is that after placing the code and switch back to Visual some sentence disappear.
          that means you have quite a mess in your code and

          a) included stuff within the a tags which doesnt belong in there

          b) you forgot to close the a tag at all

          You see.. everything between <a> and </a> will be hidden, when you apply "display:none" to its inline style (as seen in my example above).

          Not more and not less. If more vanished, it means you have more inside these 2 tags or you didnt close it correctly (</a> is the closing tag)!
          {{ DiscussionBoard.errors[4859237].message }}
  • Profile picture of the author kayetaylor
    If your using wordpress flatform there is a plugins called pretty link for further information just search the plugins and read the instruction on how to use it and soon...
    {{ DiscussionBoard.errors[4856138].message }}

Trending Topics