HTML Vs Markup Validation Service: attributes construct error -


why markup validator says has error in html code below?

line 287, column 80: attributes construct error  …ion" value="set=1&amp;page=2" /><ul><li><a href="http://campusfaithhub.org/vie… 

http://validator.w3.org/check?uri=http%3a%2f%2fcampusfaithhub.org%2ffood%2ffood-should&charset=%28detect+automatically%29&doctype=inline&ss=1&outline=1&group=0&no200=1&verbose=1&user-agent=w3c_validator%2f1.1

<div id="pagination">     <!-- add fix ie whitespace bug. ie sees space inside empty div, , applies line-height it. div expanded in ie6 (and older) accommodate space. there's gap. simplest solution make sure ie6 understands empty div _is_ empty, putting comment inside , make sure there's no line-break. -->     <input type="hidden" class="last-pagination" value="set=1&amp;page=2" />     <ul>         <li><a href="http://campusfaithhub.org/views/includes/layouts/items_comment.php?set=1&amp;page=1"class="current-pagination" rel="1">1</a></li>         <li><a href="http://campusfaithhub.org/views/includes/layouts/items_comment.php?set=1&amp;page=2" rel="1">2</a></li>     </ul> </div> <!--pagination--> 

i have hidden input field store info. if take out, still validated errors! can't find else fix - can u see have done incorrectly? thanks!

edit: after viewing source of actual page, see problem...

<input type="hidden" class="last-pagination" value="set=1&amp;page=2" /><ul><li><a href="http://campusfaithhub.org/views/includes/layouts/items_comment.php?set=1&amp;page=1"class="current-pagination" rel="1">1</a></li><li><a href="http://campusfaithhub.org/views/includes/layouts/items_comment.php?set=1&amp;page=2" rel="1">2</a></li></ul></div>  

specifically: page=1"class="current

you need space between closing quote , opening attribute tag.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -