• I am using greenway-3c theme and once I validate website it says:
    Line 178, Column 14: end tag for “ul” which is not finished

      Most likely, you nested tags and closed them in the wrong order. For example <p>…</p> is not acceptable, as must be closed before <p>. Acceptable nesting is: <p></p>

      Another possibility is that you used an element which requires a child element that you did not include. Hence the parent element is “not finished”, not complete. For instance, in HTML the <head> element must contain a <title> child element, lists (ul, ol, dl) require list items (li, or dt, dd), and so on.

      I checked the for

        tags in the theme (in index- header, sidebar) they look alrite I am sure its the theme as I chaneg the theme to default theme or sth else, it validates


      Not sure what to do

    Viewing 2 replies - 1 through 2 (of 2 total)
    • I had the same problem and was racking my brain trying to figure this one out. I checked all parts of my header, all js in the header and it turned out to be a very obvious solution.

      I had created my own theme but somewhere along the build I had completely forgotten to put a <title> .. </title> in there!!!

      What an idiot! Anyway, I put in the following:

      <title>
      	<?php
      		if (is_home()) { echo bloginfo('name'); }
      		elseif (is_404()) { bloginfo('name'); echo ' &ndash; Oops, this is a 404 page'; }
      		else if ( is_search() ) { bloginfo('name'); echo (' &ndash; Search Results');}
      		else { bloginfo('name'); echo (' &ndash; '); wp_title(''); }
         ?>
      	</title>

      And all was fine!!

      @jinal: Try looking in sidebar.php

    Viewing 2 replies - 1 through 2 (of 2 total)
    • The topic ‘My Website does not validate’ is closed to new replies.