Title: Error with coding when using validation check
Last modified: August 19, 2016

---

# Error with coding when using validation check

 *  [rusty813](https://wordpress.org/support/users/rusty813/)
 * (@rusty813)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/error-with-coding-when-using-validation-check/)
 * when i use the markup validation service i get the following errors, but cannot
   anything wrong with the error they are telling me to fix, so i want to see if
   anyone if can help me out here thanks : )
 * Error 1:
 * > Line 218, Column 13: end tag for element “Ul” which is not open
 * Error 2:
 * > Line 219, Column 8: end tag for “ul” omitted, but OMITTAG NO was specified
   > 
   > </div>
 * Error 3:
 * > Line 120, Column 5: start tag was here
 * My website coding:
 * > <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “[http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt](http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt);
   > 
   > <html xmlns=”[http://www.w3.org/1999/xhtml”&gt](http://www.w3.org/1999/xhtml”&gt);
   > <head profile=”[http://gmpg.org/xfn/11″&gt](http://gmpg.org/xfn/11″&gt); <title
   > >mywebsite » 2010 » November » 11</title> <meta http-equiv=”Content-Type” content
   > =”text/html; charset=UTF-8″ /> <meta name=”generator” content=”WordPress 3.0.1″/
   > > <!– leave this for stats please –> <link rel=”stylesheet” href=”[http://localhost/blog/wp-content/themes/mywebsite/style.css&#8221](http://localhost/blog/wp-content/themes/mywebsite/style.css&#8221);
   > type=”text/css” media=”screen” /> <link rel=”alternate” type=”application/rss
   > +xml” title=”RSS 2.0″ href=”[http://localhost/blog/?feed=rss2&#8243](http://localhost/blog/?feed=rss2&#8243);/
   > > <link rel=”alternate” type=”text/xml” title=”RSS .92″ href=”[http://localhost/blog/?feed=rss&#8221](http://localhost/blog/?feed=rss&#8221);/
   > > <link rel=”alternate” type=”application/atom+xml” title=”Atom 0.3″ href=”
   > [http://localhost/blog/?feed=atom&#8221](http://localhost/blog/?feed=atom&#8221);/
   > > <link rel=”pingback” href=”[http://localhost/blog/xmlrpc.php&#8221](http://localhost/blog/xmlrpc.php&#8221);/
   > > <link rel=’archives’ title=’November 2010′ href=’[http://localhost/blog/?m=201011&#8242](http://localhost/blog/?m=201011&#8242);/
   > > <meta name=’robots’ content=’noindex,nofollow’ /> <link rel=”EditURI” type
   > =”application/rsd+xml” title=”RSD” href=”[http://localhost/blog/xmlrpc.php?rsd&#8221](http://localhost/blog/xmlrpc.php?rsd&#8221);/
   > > <link rel=”wlwmanifest” type=”application/wlwmanifest+xml” href=”[http://localhost/blog/wp-includes/wlwmanifest.xml&#8221](http://localhost/blog/wp-includes/wlwmanifest.xml&#8221);/
   > > <link rel=’index’ title=’mywebsite’ href=’[http://localhost/blog&#8217](http://localhost/blog&#8217);/
   > > <meta name=”generator” content=”WordPress 3.0.1″ /> <style type=”text/css”
   > >.recentcomments a{display:inline !important;padding:0 !important;margin:0 !
   > important;}</style> </head> <body> <div id=”wrapper”> <div id=”header”> <h1
   > >[mywebsite](http://localhost/blog)</h1> Just another WordPress site </div>
   > <div id=”container”> <div class=”post” id=”post-26″> <h2>[Hello world!](http://localhost/blog/?p=26)
   > </h2> <div class=”entry”> <p>Welcome to WordPress. This is your first post.
   > Edit or delete it, then start blogging!</p> <p class=”postmetadata”> Filed 
   > under: [Post 1-5](http://localhost/blog/?cat=3) by mywebsite [No Comments »](http://localhost/blog/?p=26#respond)
   > | [Edit](http://localhost/blog/wp-admin/post.php?post=26&action=edit) </p> 
   > </div> </div> <div class=”post” id=”post-23″> <h2>[Hello world!](http://localhost/blog/?p=23)
   > </h2> <div class=”entry”> <p>Welcome to WordPress. This is your first post.
   > Edit or delete it, then start blogging!</p> <p class=”postmetadata”> Filed 
   > under: [Post 1-5](http://localhost/blog/?cat=3) by mywebsite [No Comments »](http://localhost/blog/?p=23#respond)
   > | [Edit](http://localhost/blog/wp-admin/post.php?post=23&action=edit) </p> 
   > </div> </div> <div class=”post” id=”post-21″> <h2>[Hello world!](http://localhost/blog/?p=21)
   > </h2> <div class=”entry”> <p>Welcome to WordPress. This is your first post.
   > Edit or delete it, then start blogging!</p> <p class=”postmetadata”> Filed 
   > under: [Post 1-5](http://localhost/blog/?cat=3) by mywebsite [No Comments »](http://localhost/blog/?p=21#respond)
   > | [Edit](http://localhost/blog/wp-admin/post.php?post=21&action=edit) </p> 
   > </div> </div> <div class=”post” id=”post-19″> <h2>[Hello world!](http://localhost/blog/?p=19)
   > </h2> <div class=”entry”> <p>Welcome to WordPress. This is your first post.
   > Edit or delete it, then start blogging!</p> <p class=”postmetadata”> Filed 
   > under: [Post 1-5](http://localhost/blog/?cat=3) by mywebsite [No Comments »](http://localhost/blog/?p=19#respond)
   > | [Edit](http://localhost/blog/wp-admin/post.php?post=19&action=edit) </p> 
   > </div> </div> <div class=”post” id=”post-17″> <h2>[Hello world!](http://localhost/blog/?p=17)
   > </h2> <div class=”entry”> <p>Welcome to WordPress. This is your first post.
   > Edit or delete it, then start blogging!</p> <p class=”postmetadata”> Filed 
   > under: [Post 1-5](http://localhost/blog/?cat=3) by mywebsite [No Comments »](http://localhost/blog/?p=17#respond)
   > | [Edit](http://localhost/blog/wp-admin/post.php?post=17&action=edit) </p> 
   > </div> </div> <div class=”post” id=”post-15″> <h2>[Hello world!](http://localhost/blog/?p=15)
   > </h2> <div class=”entry”> <p>Welcome to WordPress. This is your first post.
   > Edit or delete it, then start blogging!</p> <p class=”postmetadata”> Filed 
   > under: [Post 6-10](http://localhost/blog/?cat=1) by mywebsite [No Comments »](http://localhost/blog/?p=15#respond)
   > | [Edit](http://localhost/blog/wp-admin/post.php?post=15&action=edit) </p> 
   > </div> </div> <div class=”post” id=”post-12″> <h2>[Hello world!](http://localhost/blog/?p=12)
   > </h2> <div class=”entry”> <p>Welcome to WordPress. This is your first post.
   > Edit or delete it, then start blogging!</p> <p class=”postmetadata”> Filed 
   > under: [Post 6-10](http://localhost/blog/?cat=1) by mywebsite [No Comments »](http://localhost/blog/?p=12#respond)
   > | [Edit](http://localhost/blog/wp-admin/post.php?post=12&action=edit) </p> 
   > </div> </div> <div class=”post” id=”post-10″> <h2>[Hello world!](http://localhost/blog/?p=10)
   > </h2> <div class=”entry”> <p>Welcome to WordPress. This is your first post.
   > Edit or delete it, then start blogging!</p> <p class=”postmetadata”> Filed 
   > under: [Post 6-10](http://localhost/blog/?cat=1) by mywebsite [No Comments »](http://localhost/blog/?p=10#respond)
   > | [Edit](http://localhost/blog/wp-admin/post.php?post=10&action=edit) </p> 
   > </div> </div> <div class=”post” id=”post-8″> <h2>[Hello world!](http://localhost/blog/?p=8)
   > </h2> <div class=”entry”> <p>Welcome to WordPress. This is your first post.
   > Edit or delete it, then start blogging!</p> <p class=”postmetadata”> Filed 
   > under: [Post 6-10](http://localhost/blog/?cat=1) by mywebsite [No Comments »](http://localhost/blog/?p=8#respond)
   > | [Edit](http://localhost/blog/wp-admin/post.php?post=8&action=edit) </p> </
   > div> </div> <div class=”post” id=”post-4″> <h2>[Hello world!](http://localhost/blog/?p=4)
   > </h2> <div class=”entry”> <p>Welcome to WordPress. This is your first post.
   > Edit or delete it, then start blogging!</p> <p class=”postmetadata”> Filed 
   > under: [Post 6-10](http://localhost/blog/?cat=1) by mywebsite [No Comments »](http://localhost/blog/?p=4#respond)
   > | [Edit](http://localhost/blog/wp-admin/post.php?post=4&action=edit) </p> </
   > div> </div> <div class=”navigation”> [Next Page »](http://localhost/blog/?m=20101111&paged=2)
   > </div> </div> <div id=”sidebar”>
    -  <li id=”search”>
       <form method=”get” id=”searchform” action=”[http://localhost/blog/”&gt](http://localhost/blog/”&gt);
    - <div>
    -  <input type=”text” value=”” name=”s” id=”s” size=”15″ />
    -  <input type=”submit” id=”searchsubmit” value=”Search” />
    - </div>
    - </form>
       <li id=”calendar”> <h2>Calendar</h2> <table id=”wp-calendar” summary
      =”Calendar”> <caption>November 2010</caption> <thead> <tr> <th scope=”col”
      title=”Monday”>M</th> <th scope=”col” title=”Tuesday”>T</th> <th scope=”col”
      title=”Wednesday”>W</th> <th scope=”col” title=”Thursday”>T</th> <th scope
      =”col” title=”Friday”>F</th> <th scope=”col” title=”Saturday”>S</th> <th scope
      =”col” title=”Sunday”>S</th> </tr> </thead>
    -  <tfoot>
       <tr> <td colspan=”3″ id=”prev” class=”pad”> </td> <td class=”pad”
      > </td> <td colspan=”3″ id=”next” class=”pad”> </td> </tr> </tfoot>
    -  <tbody>
       <tr><td>1</td><td>2</td><td>3</td><td>4</td><td>5</td><td>6</td>
      <td>7</td> </tr> <tr> <td>8</td><td>9</td><td>10</td><td id=”today”><a href
      =”[http://localhost/blog/?m=20101111&#8243](http://localhost/blog/?m=20101111&#8243);
      title=”Hello world! Hello world! Hello world! Hello world! Hello world! Hello
      world! Hello world! Hello world! Hello world! Hello world! Hello world!”>11
      </td><td>12</td><td>13</td><td>14</td> </tr> <tr> <td>15</td><td>16</td><td
      >17</td><td>18</td><td>19</td><td>20</td><td>21</td> </tr> <tr> <td>22</td
      ><td>23</td><td>24</td><td>25</td><td>26</td><td>27</td><td>28</td> </tr> 
      <tr> <td>29</td><td>30</td> <td class=”pad” colspan=”5″> </td> </tr> </tbody
      > </table> <li class=”pagenav”><h2>Pages</h2>
 *  - <li class=”page_item page-item-2″>[About](http://localhost/blog/?page_id=2)
 *  - <h2>Categories</h2>
 *  -  <li class=”cat-item cat-item-3″>[Post 1-5](http://localhost/blog/?cat=3) (
      5)
 *  <li class=”cat-item cat-item-4″>[Post 11-15](http://localhost/blog/?cat=4) (
   1)
 *  <li class=”cat-item cat-item-1″>[Post 6-10](http://localhost/blog/?cat=1) (5)
    - <h2>Archives</h2>
 *  - [November 2010](http://localhost/blog/?m=201011)
 *  <li id=”linkcat-2″ class=”linkcat”><h2>Blogroll</h2>
    - [Documentation](http://codex.wordpress.org/)
    - [Plugins](http://wordpress.org/extend/plugins/)
    - [Suggest Ideas](http://wordpress.org/extend/ideas/)
    - [Support Forum](http://wordpress.org/support/)
    - [Themes](http://wordpress.org/extend/themes/)
    - [WordPress Blog](http://wordpress.org/news/)
    - [WordPress Planet](http://planet.wordpress.org/)
 *  - <h2>Meta</h2>
 *  - [Site Admin](http://localhost/blog/wp-admin/)
    - [Log out](http://localhost/blog/wp-login.php?action=logout&_wpnonce=ee4573248b)
 *  </div>
    <div id=”footer”> <p>Copyright © 2010 mywebsite</p> </div> </div> </
   body> </html>

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [rusty813](https://wordpress.org/support/users/rusty813/)
 * (@rusty813)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/error-with-coding-when-using-validation-check/#post-1765513)
 * anyone able to help me out?
 *  [sagalbot](https://wordpress.org/support/users/sagalbot/)
 * (@sagalbot)
 * [14 years, 12 months ago](https://wordpress.org/support/topic/error-with-coding-when-using-validation-check/#post-1765772)
 * Stumbled upon this from google. You need to wrap your `li` tags with a `ul`.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Error with coding when using validation check’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [sagalbot](https://wordpress.org/support/users/sagalbot/)
 * Last activity: [14 years, 12 months ago](https://wordpress.org/support/topic/error-with-coding-when-using-validation-check/#post-1765772)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
