SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict
    Join Date
    Aug 2006
    Location
    Washington DC
    Posts
    215
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Wordpress Invalid HTML

    Hi all!

    I'm working on this site here and I can't figure out why Wordpress is parsing the HTML in such a weird fashion. When you test it for validation you get misplaced &lt;p&gt; and <a> tags...

    How can I fix this?

    Thanks,
    Eric Huang
    Erichuangis: Erichuangis.com
    Small Blogs Network: Small Blogs Network

  2. #2
    SitePoint Addict dbr's Avatar
    Join Date
    Aug 2006
    Location
    Tucked away in the mountains...
    Posts
    228
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm not familiar with wordpress, so I don't know what your editing options are, but you need to get rid of the red colored close and open paragraph code so the </a> will be nested properly.
    <p> <a href="http://according2us.com/eric/post-title-1/#more-13" class="more-link"></p>
    <p>
    Read On</a></p>
    "Three components make an entrepreneur:
    the person, the idea, and the resources to make it happen."
    Anita Roddick ~British entrepreneur
    dbr founder of: ProximityCast.com

  3. #3
    SitePoint Addict
    Join Date
    Aug 2006
    Location
    Washington DC
    Posts
    215
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yep, it wasn't that though. It was the </br>s I was using in my WP tag code. Resolved.
    Erichuangis: Erichuangis.com
    Small Blogs Network: Small Blogs Network


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •