Validating@W3C

dutch english

My validation at the W3C gave me 37 errors. At one hand, I don’t care. At the other hand, I like all the stuff I put in and i’m not taking it away. The installation of the theme allone gave me errors… while the site where I downloaded it, validates perfectly!

37, 36…28, 27…23, 22

First step: walk through the validator, check out common errors. What do you know: Anthony Wong made a typo! No worries, easily fixed. First error was a simple extra ” , the other one was a missing required attribute “alt”. Solution: change line 82 to:
echo ' alt="'.$url.'" />';

22, 21…18, 17

Second step: Anthony Wong was in good company: Alexander Concha from the Post2PDF plugin joined him. He missed the trailing slash at an <img /> tag. Solution: change line 54 to:
echo 'Post2PDF';

17, 16…11, 10

Now, I got to join them. In my post about the Search Hilite option, I re-added the searchform. Thus: multiple errors on one line, like not putting the form in a <p> and molesting the code. Solution: change

<form method="get" id="searchform" action="http://www.beulbek.nl/"><input type="text" size="12" name="s" id="s" /><input type="submit" class="btn" id="searchsubmit" value="Search" /></p></form>

in

<form method="get" id="searchform_inline" action="http://www.beulbek.nl/"><div><input type="text" size="12" name="s" id="s_inline" /><input type="submit" class="btn" id="searchsubmit_inline" value="Search" /></div></form>

Add to your favorites:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Reddit
  • StumbleUpon

This entry was posted on Saturday, March 24th, 2007 at 01:40 and is filed under Blog. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

2 Responses to “Validating@W3C”

Anthony March 26th, 2007 at 21:37

Hi, I have corrected my QR-code WP plugin, just committed to svn. You may find it at http://svn.wp-plugins.org/qrcode/trunk/ . Hope this corrects the problem, feel free to tell me if it fixes the bug you mentioned.

Leave a Reply