I have a problem with my page trying to validate it.
If I validate my page using direct input I get no errors, but if I validate the same page by URL I get 9 errors:
Line 101, Column 49: unclosed start-tag requires SHORTTAG YES
…a href=“http://summerlime.com/?p=340” <strong>Next work ></strong> </a></li> …
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.
Line 101, Column 48: error parsing attribute name
…<a href=“http://summerlime.com/?p=340” <strong>Next work ></strong> </a></li> …
Line 101, Column 48: attributes construct error
…<a href=“http://summerlime.com/?p=340” <strong>Next work ></strong> </a></li> …
Line 101, Column 48: Couldn’t find end of Start Tag a line 101
…<a href=“http://summerlime.com/?p=340” <strong>Next work ></strong> </a></li> …
Line 101, Column 80: Opening and ending tag mismatch: li line 101 and a
…=“http://summerlime.com/?p=340” <strong>Next work ></strong> </a></li> </ul>
Line 101, Column 80: Opening and ending tag mismatch: ul line 97 and li
…=“http://summerlime.com/?p=340” <strong>Next work ></strong> </a></li> </ul>
Line 101, Column 81: Opening and ending tag mismatch: div line 83 and ul
…=“http://summerlime.com/?p=340” <strong>Next work ></strong> </a></li> </ul>
Line 111, Column 10: Opening and ending tag mismatch: body line 41 and div
</div>
Line 133, Column 8: Opening and ending tag mismatch: html line 3 and body
</body>
Line 134: Extra content at the end of the document
</html>
Here is the source:
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN”
“http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=“http://www.w3.org/1999/xhtml” dir=“ltr” lang=“en-US”>
<head profile=“http://gmpg.org/xfn/11”>
<title>
Bioaktiv </title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta name="description" content="" />
<link rel="stylesheet" type="text/css" href="http://summerlime.com/wp-content/themes/Summerlime/style.css" media="screen" />
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="http://summerlime.com/?feed=rss2" />
<link rel="alternate" type="text/xml" title="RSS .92" href="http://summerlime.com/?feed=rss" />
<link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="http://summerlime.com/?feed=atom" />
<script src="http://summerlime.com/wp-content/themes/Summerlime/style/scripts/jquery-1.2.6.min.js" type="text/javascript" charset="utf-8"></script>
<script src="http://summerlime.com/wp-content/themes/Summerlime/style/scripts/jquery.scrollTo-1.4.0-min.js" type="text/javascript" charset="utf-8"></script>
<script src="http://summerlime.com/wp-content/themes/Summerlime/style/scripts/jquery.localscroll-1.2.6-min.js" type="text/javascript" charset="utf-8"></script>
<script src="http://summerlime.com/wp-content/themes/Summerlime/style/scripts/jquery.serialScroll-1.2.1-min.js" type="text/javascript" charset="utf-8"></script>
<script src="http://summerlime.com/wp-content/themes/Summerlime/style/scripts/coda-slider.js" type="text/javascript" charset="utf-8"></script>
<meta name='robots' content='noindex,nofollow' />
<link rel=“alternate” type=“application/rss+xml” title=“Summerlime » Bioaktiv Comments Feed” href=“http://summerlime.com/?feed=rss2&p=343” />
<link rel=“EditURI” type=“application/rsd+xml” title=“RSD” href=“http://summerlime.com/xmlrpc.php?rsd” />
<link rel=“wlwmanifest” type=“application/wlwmanifest+xml” href=“http://summerlime.com/wp-includes/wlwmanifest.xml” />
<link rel=‘index’ title=‘Summerlime’ href=‘http://summerlime.com’ />
<link rel=‘start’ title=‘Canem Systems’ href=‘http://summerlime.com/?p=283’ />
<link rel=‘prev’ title=‘New Diesel’ href=‘http://summerlime.com/?p=340’ />
<meta name=“generator” content=“WordPress 2.9.1” />
<link rel=‘canonical’ href=‘http://summerlime.com/?p=343’ />
<!-- Start Of Script Generated By cforms v11.3 [Oliver Seidel | www.deliciousdays.com] –>
<script type=“text/javascript” src=“http://summerlime.com/wp-content/plugins/cforms/js/cforms.js”></script>
<!-- End Of Script Generated By cforms –>
</head>
<body>
<div id="container">
<!-- HEADER -->
<div id="header">
<div id="header_img">
<h1><a href="http://summerlime.com">Summerlime</a></h1>
<p></p>
</div>
</div><!-- #header -->
<!-- NAVIGATION -->
<div id="navigation">
<div id="menu">
<ol>
<li><a href="http://summerlime.com/" title="Home page">HOME<small>Our home page</small></a></li>
<li><a href="http://summerlime.com/?page_id=2" title="Services page">SERVICES<small>What we do</small></a></li>
<li><a href="http://summerlime.com/?page_id=12" title="Portfolio page">PORTFOLIO<small>View our work</small></a></li>
<li id="menulast"><a href="http://summerlime.com/?page_id=76" title="Contact page">CONTACT<small>Get in touch</small></a></li>
</ol>
</div><!-- #menu -->
</div><!-- #navigation -->
<div id="content">
<!-- Ct-Info -->
<div id="ct-info">
<p><a href="http://summerlime.com/wp-content/uploads/2010/03/bioaktiv.jpg"><img class="alignnone size-full wp-image-311" title="bioaktiv" src="http://summerlime.com/wp-content/uploads/2010/03/bioaktiv.jpg" alt="" width="650" height="515" /></a></p>
</div>
<div id="sidebar">
<dl>
<dt><strong>Client</strong>: </dt>
<dd>Bioaktiv</dd>
<dt><strong>Project type</strong>: </dt>
<dd>Web</dd>
<dt><strong>Delivered</strong>: </dt>
<dd>Logo, Stationary, Website</dd>
</dl>
<ul>
<li><a href="http://summerlime.com/?p=340" ><strong>Next work ></strong> </a></li> </ul>
<div id="back_portfolio"><a href="?page_id=12"><img src="wp-content/uploads/2010/03/view_portfolio.png" width="148" height="53" alt="Back to Portfolio"/></a></div>
</div><!-- #sidebar -->
</div><!-- #content -->
<div id="push"></div>
</div>
<div id=“footer”>
<div id=“foot”>
<ol id="footnav">
<li><a href="http://summerlime.com/" title="Home page"><strong>HOME</strong></a></li>
<li>|</li>
<li><a href="http://summerlime.com/?page_id=2" title="Services page"><strong>SERVICES</strong></a></li>
<li>|</li>
<li><a href="http://summerlime.com/?page_id=12" title="Portfolio page"><strong>PORTFOLIO</strong></a></li>
<li>|</li>
<li><a href="http://summerlime.com/?page_id=76" title="Contact page"><strong>CONTACT</strong></a></li>
</ol>
<p>All contents © Copyright 2010 <a href="http://www.summerlime.com" title="Summerlime">Summerlime</a>. All rights reserved.</p>
</div><!-- #foot -->
</div><!-- #footer -->
<!--
</div>
–>
</body>
</html>
If anybody knows why this might be happening please share. I’ve been trying to clean my site so it validates and this is the last piece that’s causing problems. Thanks.