<a href=…> syntax

I am trying to append a link to the text as shown below:

<a href="http://blog.sysil.com/?page_id=5">Contact Us</a> <br />Copyright © 2010 Stanley Lee. All Rights Reserved.

However, it is not linking properly. Do you know what is causing the linking error? Thanks in advance for your help!

Related posts

Leave a Reply

3 comments

  1. The backslashes () before the quotation marks in your anchor tag are the problem; you only need those if you are trying to escape them in a string of a programming language (for example PHP).

    Try:

    <a href="http://blog.sysil.com/?page_id=5">Contact Us</a>...
    
  2. Read http://tutorialblog.org/use-embedit-to-add-html-code-in-wordpress/ on how to add HTML to wordpress.

    Quote: “Sometimes you may just be able to copy and paste code or write HTML code directly into your posts. To do this, you just need to click the HTML tab at the top of the post and then write or paste the code into your post and publish it.”

    Going to the HTML tab and inserting the code there should prevent WordPress from adding extra backslashes. 🙂