Wordpress Theme Not Validating

Discussion in 'HTML & Website Design' started by Exnie, Apr 19, 2008.

  1. #1
    So I am trying to code a wordpress theme I designed but I am sort of a beginer at coding. I have finished the main files of the template and am now trying to validate it but there's this one error I can't get rid of:


    Line 29, Column 4: unclosed start-tag requires SHORTTAG YES.
    
    				<a href="http://localhost/wordpress" id="blogtitle">Blog Name</a>
    
    ✉
    
    The construct <foo<bar> is valid in HTML (it is an example of the rather obscure “Shorttags” feature) but its use is not recommended. In most cases, this is a typo that you will want to fix. If you really want to use shorttags, be aware that they are not well implemented by browsers.
    
    Code (markup):

    Here's the peice of code it has a problem with:

    <a href="<?php bloginfo('url'); ?>" id="blogtitle"><?php bloginfo('name'); ?></a>
    Code (markup):
    Does anyone have any idea of why this does not validate?
     
    Exnie, Apr 19, 2008 IP
  2. Spider-Man

    Spider-Man Banned

    Messages:
    2,684
    Likes Received:
    211
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Spider-Man, Apr 19, 2008 IP