0

Firefox HTML Validator

Firefox HTML Validator:

front-page.php

Result: 75 errors / 23 warnings

Info: W3c Online Validation

line 43 column 20 - Error: document type does not allow element "div" here; assuming missing "body" start-tag
line 56 column 15 - Error: ID "body" already defined
line 47 column 14 - Warning: ID "body" first defined here
line 56 column 20 - Error: document type does not allow element "div" here; assuming missing "li" start-tag
line 58 column 10 - Error: document type does not allow element "li" here; missing one of "ul", "ol", "menu", "dir" start-tag
line 58 column 94 - Error: required attribute "alt" not specified
line 58 column 146 - Error: document type does not allow element "li" here; missing one of "ul", "ol", "menu", "dir" start-tag
line 59 column 35 - Error: document type does not allow element "li" here; missing one of "ul", "ol", "menu", "dir" start-tag
line 64 column 35 - Error: document type does not allow element "li" here; missing one of "ul", "ol", "menu", "dir" start-tag
line 65 column 35 - Error: document type does not allow element "li" here; missing one of "ul", "ol", "menu", "dir" start-tag
line 66 column 35 - Error: document type does not allow element "li" here; missing one of "ul", "ol", "menu", "dir" start-tag
line 67 column 35 - Error: document type does not allow element "li" here; missing one of "ul", "ol", "menu", "dir" start-tag
line 68 column 36 - Error: document type does not allow element "li" here; missing one of "ul", "ol", "menu", "dir" start-tag
line 77 column 43 - Error: document type does not allow element "form" here; missing one of "object", "applet", "map", "iframe", "ins", "del" start-tag
line 78 column 77 - Error: there is no attribute "onFocus"
line 78 column 133 - Error: there is no attribute "onBlur"
line 83 column 9 - Error: end tag for "li" omitted, but OMITTAG NO was specified
line 56 column 6 - Warning: start tag was here
line 91 column 6 - Error: document type does not allow element "html" here
line 91 column 1 - Error: Missing xmlns attribute for element html. The value should be: http://www.w3.org/1999/xhtml
line 92 column 6 - Error: document type does not allow element "body" here
line 97 column 10 - Error: document type does not allow element "p" here
line 98 column 10 - Error: document type does not allow element "p" here
line 99 column 10 - Error: document type does not allow element "p" here
line 100 column 10 - Error: document type does not allow element "p" here
line 101 column 10 - Error: document type does not allow element "p" here
line 102 column 10 - Error: document type does not allow element "p" here
line 111 column 10 - Error: ID "body" already defined
line 47 column 14 - Warning: ID "body" first defined here
line 116 column 92 - Error: required attribute "alt" not specified
line 116 column 93 - Error: end tag for "img" omitted, but OMITTAG NO was specified
line 116 column 11 - Warning: start tag was here
line 117 column 92 - Error: required attribute "alt" not specified
line 117 column 93 - Error: end tag for "img" omitted, but OMITTAG NO was specified
line 117 column 11 - Warning: start tag was here
line 118 column 92 - Error: required attribute "alt" not specified
line 118 column 93 - Error: end tag for "img" omitted, but OMITTAG NO was specified
line 118 column 11 - Warning: start tag was here
line 133 column 96 - Error: there is no attribute "ALT"
line 133 column 113 - Error: there is no attribute "ALIGN"
line 133 column 113 - Error: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified
line 133 column 117 - Error: required attribute "alt" not specified
line 133 column 118 - Error: end tag for "img" omitted, but OMITTAG NO was specified
line 133 column 13 - Warning: start tag was here
line 133 column 172 - Warning: cannot generate system identifier for general entity "nbspFeb"
line 133 column 172 - Error: general entity "nbspFeb" not defined and no default entity
line 133 column 179 - Warning: reference not terminated by REFC delimiter
line 133 column 179 - Error: reference to entity "nbspFeb" for which no system identifier could be generated
line 133 column 171 - Warning: entity was defined here
line 133 column 180 - Warning: cannot generate system identifier for general entity "nbsp2012"
line 133 column 180 - Error: general entity "nbsp2012" not defined and no default entity
line 133 column 188 - Warning: reference not terminated by REFC delimiter
line 133 column 188 - Error: reference to entity "nbsp2012" for which no system identifier could be generated
line 133 column 179 - Warning: entity was defined here
line 135 column 18 - Error: document type does not allow element "p" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag
line 142 column 113 - Error: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified
line 142 column 117 - Error: required attribute "alt" not specified
line 142 column 118 - Error: end tag for "img" omitted, but OMITTAG NO was specified
line 142 column 13 - Warning: start tag was here
line 142 column 127 - Error: ID "ptitle" already defined
line 133 column 127 - Warning: ID "ptitle" first defined here
line 142 column 179 - Warning: reference not terminated by REFC delimiter
line 142 column 179 - Error: reference to entity "nbspFeb" for which no system identifier could be generated
line 133 column 171 - Warning: entity was defined here
line 142 column 188 - Warning: reference not terminated by REFC delimiter
line 142 column 188 - Error: reference to entity "nbsp2012" for which no system identifier could be generated
line 133 column 179 - Warning: entity was defined here
line 144 column 18 - Error: document type does not allow element "p" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag
line 151 column 113 - Error: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified
line 151 column 117 - Error: required attribute "alt" not specified
line 151 column 118 - Error: end tag for "img" omitted, but OMITTAG NO was specified
line 151 column 13 - Warning: start tag was here
line 151 column 127 - Error: ID "ptitle" already defined
line 133 column 127 - Warning: ID "ptitle" first defined here
line 151 column 179 - Warning: reference not terminated by REFC delimiter
line 151 column 179 - Error: reference to entity "nbspFeb" for which no system identifier could be generated
line 133 column 171 - Warning: entity was defined here
line 151 column 188 - Warning: reference not terminated by REFC delimiter
line 151 column 188 - Error: reference to entity "nbsp2012" for which no system identifier could be generated
line 133 column 179 - Warning: entity was defined here
line 153 column 18 - Error: document type does not allow element "p" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag
line 171 column 107 - Error: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified
line 171 column 111 - Error: required attribute "alt" not specified
line 171 column 117 - Error: end tag for "img" omitted, but OMITTAG NO was specified
line 171 column 22 - Warning: start tag was here
line 171 column 167 - Warning: cannot generate system identifier for general entity "Associates"
line 171 column 167 - Error: general entity "Associates" not defined and no default entity
line 171 column 177 - Warning: reference not terminated by REFC delimiter
line 171 column 177 - Error: reference to entity "Associates" for which no system identifier could be generated
line 171 column 166 - Warning: entity was defined here
line 172 column 26 - Error: end tag for "br" omitted, but OMITTAG NO was specified
line 172 column 17 - Warning: start tag was here
line 174 column 23 - Error: ID "boxcontainer" already defined
line 168 column 13 - Warning: ID "boxcontainer" first defined here
line 177 column 16 - Error: ID "image" already defined
line 171 column 15 - Warning: ID "image" first defined here
line 177 column 108 - Error: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified
line 177 column 114 - Error: required attribute "alt" not specified
line 177 column 130 - Error: ID "text" already defined
line 171 column 127 - Warning: ID "text" first defined here
line 177 column 180 - Warning: reference not terminated by REFC delimiter
line 177 column 180 - Error: reference to entity "Associates" for which no system identifier could be generated
line 171 column 166 - Warning: entity was defined here
line 190 column 46 - Warning: reference not terminated by REFC delimiter
line 190 column 54 - Warning: reference not terminated by REFC delimiter
line 190 column 84 - Warning: reference not terminated by REFC delimiter
line 190 column 92 - Warning: reference not terminated by REFC delimiter
line 190 column 128 - Warning: reference not terminated by REFC delimiter
line 190 column 136 - Warning: reference not terminated by REFC delimiter
line 190 column 163 - Warning: reference not terminated by REFC delimiter
line 190 column 171 - Warning: reference not terminated by REFC delimiter
line 190 column 209 - Warning: reference not terminated by REFC delimiter
line 190 column 217 - Warning: reference not terminated by REFC delimiter
line 190 column 257 - Error: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag
line 192 column 15 - Error: document type does not allow element "p" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag
line 192 column 38 - Warning: character "&" is the first character of a delimiter but occurred as data
line 195 column 7 - Error: end tag for "p" omitted, but OMITTAG NO was specified
line 192 column 13 - Warning: start tag was here
line 195 column 7 - Error: end tag for "p" omitted, but OMITTAG NO was specified
line 190 column 13 - Warning: start tag was here
line 200 column 7 - Error: end tag for "html" which is not finished
line 200 column 8 - Error: end tag for "body" omitted, but OMITTAG NO was specified
line 43 column 1 - Warning: start tag was here
line 200 column 8 - Error: end tag for "html" omitted, but OMITTAG NO was specified
line 4 column 1 - Warning: start tag was here

front-page.php

<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Octlaw.com</title>

<link href="http://localhost/wordpress/wp-content/themes/ocklaw/style.css" rel="stylesheet" type="text/css" media="screen"  />


<link rel='stylesheet' id='NextGEN-css'  href='http://localhost/wordpress/wp-content/plugins/nextgen-gallery/css/nggallery.css?ver=1.0.0' type='text/css' media='screen' />
<link rel='stylesheet' id='shutter-css'  href='http://localhost/wordpress/wp-content/plugins/nextgen-gallery/shutter/shutter-reloaded.css?ver=1.3.4' type='text/css' media='screen' />
<link rel='stylesheet' id='contact-form-7-css'  href='http://localhost/wordpress/wp-content/plugins/contact-form-7/styles.css?ver=3.1' type='text/css' media='all' />
<script type='text/javascript'>
/* <![CDATA[ */
var shutterSettings = {"msgLoading":"L O A D I N G","msgClose":"Click to Close","imageCount":"1"};
/* ]]> */
</script>

<script type='text/javascript' src='http://localhost/wordpress/wp-content/plugins/nextgen-gallery/shutter/shutter-reloaded.js?ver=1.3.3'></script>
<script type='text/javascript' src='http://localhost/wordpress/wp-includes/js/jquery/jquery.js?ver=1.7.1'></script>
<script type='text/javascript' src='http://localhost/wordpress/wp-content/plugins/nextgen-gallery/js/jquery.cycle.all.min.js?ver=2.9995'></script>
<script type='text/javascript' src='http://localhost/wordpress/wp-content/plugins/nextgen-gallery/js/ngg.slideshow.min.js?ver=1.05'></script>
<script type='text/javascript' src='http://localhost/wordpress/wp-content/themes/ocklaw/js/jquery-1.7.1.min.js?ver=1.0'></script>
<script type='text/javascript' src='http://localhost/wordpress/wp-content/themes/ocklaw/js/jq-faq-2.js?ver=1.0'></script>
<script type='text/javascript' src='http://localhost/wordpress/wp-content/themes/ocklaw/js/jquery.cycle.all.js?ver=1.0'></script>
<script type='text/javascript' src='http://localhost/wordpress/wp-content/themes/ocklaw/js/slideshow.js?ver=1.0'></script>
<script type='text/javascript' src='http://localhost/wordpress/wp-content/themes/ocklaw/js/accordion.js?ver=1.0'></script>

<script type='text/javascript' src='http://localhost/wordpress/wp-content/themes/ocklaw/js/dropdownnav.js?ver=1.0'></script>
<link rel='next' title='ABOUT' href='http://localhost/wordpress/about/' />

<link rel='canonical' href='http://localhost/wordpress/home/' />
<!-- <meta name="NextGEN" version="1.9.2" /> -->
<style type="text/css">
        #header {
            background: url();
        }
    </style>

</head>


<div id="container">
	<div id="header"> 
    
    
    <div id="body">
	<div id="topcorner">      
		<a href="#">Career</a> | <a href="#">Mail</a>	  
    </div>

    </div>
 
  
  
	<ul id="navH">
     <div id="body">
        
      <li><img src="http://localhost/wordpress/wp-content/themes/ocklaw/images/navline.png" /><li class="page_item page-item-2 current_page_item"><a href="http://localhost/wordpress/home/">HOME</a></li>
<li class="page_item page-item-23"><a href="http://localhost/wordpress/about/">ABOUT</a>
<ul class='children'>
	<li class="page_item page-item-146"><a href="http://localhost/wordpress/about/vision/">Vision &#038; Mission</a></li>

</ul>
</li>
<li class="page_item page-item-25"><a href="http://localhost/wordpress/practice-area/">PRACTICE AREA</a></li>
<li class="page_item page-item-27"><a href="http://localhost/wordpress/news/">NEWS</a></li>
<li class="page_item page-item-29"><a href="http://localhost/wordpress/published-books/">PUBLISHED BOOKS</a></li>
<li class="page_item page-item-31"><a href="http://localhost/wordpress/contact/">CONTACT</a></li>
<li class="page_item page-item-130"><a href="http://localhost/wordpress/new-page/">New Page</a></li>
</li>	        
      
          
    

        <div id="search">

<font color = "#A9A9A9">
<form action="http://localhost/wordpress/">

<input type="text" class="searchbox" name="s" value="type keywords" onFocus="if (this.value=='type keywords')this.value='';" onBlur="if (this.value=='')this.value='type keywords'" />
<input type="image" src="http://localhost/wordpress/wp-content/themes/ocklaw/images/searchbutton.png" class="searchbox_submit" value="" />
</form>
</font></div>
     </div>
    </ul>

 </div>
</div>

	


<html>
<body>
<div id="example"></div>

<script type="text/javascript">

txt = "<p>Browser CodeName: " + navigator.appCodeName + "</p>";
txt+= "<p>Browser Name: " + navigator.appName + "</p>";
txt+= "<p>Browser Version: " + navigator.appVersion + "</p>";
txt+= "<p>Cookies Enabled: " + navigator.cookieEnabled + "</p>";
txt+= "<p>Platform: " + navigator.platform + "</p>";
txt+= "<p>User-agent header: " + navigator.userAgent + "</p>";

document.getElementById("example").innerHTML=txt;

</script>




<div id="body">
<div id="bannerContainer">
<div id="banner"></div> 
        <div id="containerSide">
        <div id="slideshow">
          <img src="http://localhost/wordpress/wp-content/themes/ocklaw/images/banner1.png">
          <img src="http://localhost/wordpress/wp-content/themes/ocklaw/images/banner2.png">

          <img src="http://localhost/wordpress/wp-content/themes/ocklaw/images/banner3.png">              
        </div>
        </div>        
</div>

<div id="content">
	<div id="main-front">
	<div id="main">
	<h4>LATEST NEWS</h4>
 		<div class="post">	
    
            
			        

<p style="border-bottom: 2px dotted #FF0000; width: 650px;"></p><br />        
                      
            <img src="http://localhost/wordpress/wp-content/themes/ocklaw/images/pic1.png" ALT="picture1" ALIGN=LEFT><div id="ptitle">Lorem ipsum<font color="black"> - 13&nbspFeb&nbsp2012</font></div>
            
            <p><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce porta diam in quam consectetur elementum. Vestibulum iaculis pellentesque mauris, non sodales erat egestas nec. Proin sed elit sed ligula ullamcorper adipiscing. Quisque pellentesque sapien odio. Phasellus nec elit ligula. Ut tempus urna ut lectus ullamcorper imperdiet. Quisque vitae massa sem, sed cursus sapien. Ut mi lorem</p>
... <a href="#">read more ></a></p>
         
      	
             
<p style="border-bottom: 2px dotted #FF0000; width: 650px;"></p><br />        
                      
            <img src="http://localhost/wordpress/wp-content/themes/ocklaw/images/pic1.png" ALT="picture1" ALIGN=LEFT><div id="ptitle">Lorem ipsum<font color="black"> - 13&nbspFeb&nbsp2012</font></div>

            
            <p><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce porta diam in quam consectetur elementum. Vestibulum iaculis pellentesque mauris, non sodales erat egestas nec. Proin sed elit sed ligula ullamcorper adipiscing. Quisque pellentesque sapien odio. Phasellus nec elit ligula. Ut tempus urna ut lectus ullamcorper imperdiet. Quisque vitae massa sem, sed cursus sapien. Ut mi lorem</p>
... <a href="#">read more ></a></p>
         
      	
             
<p style="border-bottom: 2px dotted #FF0000; width: 650px;"></p><br />        
                      
            <img src="http://localhost/wordpress/wp-content/themes/ocklaw/images/pic1.png" ALT="picture1" ALIGN=LEFT><div id="ptitle">Lorem ipsum<font color="black"> - 13&nbspFeb&nbsp2012</font></div>
            
            <p><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce porta diam in quam consectetur elementum. Vestibulum iaculis pellentesque mauris, non sodales erat egestas nec. Proin sed elit sed ligula ullamcorper adipiscing. Quisque pellentesque sapien odio. Phasellus nec elit ligula. Ut tempus urna ut lectus ullamcorper imperdiet. Quisque vitae massa sem, sed cursus sapien. Ut mi lorem</p>
... <a href="#">read more ></a></p>

         
      	
             
       
  
    </div>
   </div>
   </div>

<div id="side-main">
	

<div id="side">
			<div id="boxcontainer">			
				<h3>Get In Touch With Us</h3>
                <p style="border-bottom: 1px dotted #787878; width: 230px;"></p><br /> 
					<div id="image"><img src="http://localhost/wordpress/wp-content/themes/ocklaw/images/pic2.png" ALIGN=LEFT></div><div id="text">Request more information from OCK&Associates </div>

                <br></div><br />
                                   
             <div id="boxcontainer">                                      
                <h3>Company Profile</h3>    
                <p style="border-bottom: 1px dotted #787878; width: 230px;"></p><br />    
	 				<div id="image"><img src="http://localhost/wordpress/wp-content/themes/ocklaw/images/pic2.png" ALIGN=LEFT /></div><div id="text">Request more information from OCK&Associates </div>					
            	</div>
 
</div> </div>
 
 </div>
</div>



<div id="footer-container">
	<div id="footer-nav">
    <br />        		               
            <p>    <a href="#">Home</a> &nbsp | &nbsp <a href="#">About Us</a>&nbsp | &nbsp <a href="#">Practice Area</a> &nbsp | &nbsp <a href="#">News</a> &nbsp | &nbsp <a href="#">Published Books</a> &nbsp | &nbsp <a href="#">Contact</a> <div id="ftext"> design by towadesign </div>

                
            <p>   Copyright 2012 OCK & Associates  <br /><br /> 
                
              
	</div>
</div>


</body>
</html>

Can anyone teach me how to read this error codes ? I don't understand how to interpret the Firefox HTML Validator.

2
Contributors
2
Replies
5
Views
5 Years
Discussion Span
Last Post by davy_yg
0

Hello,

Will this website be fixed simply by just fixing the above codes ?

http://localhost/wordpress/home/

because it works already in IE but not in Firefox.

One thing: I wonder why the footer are so high above in firefox ?

Edited by davy_yg: n/a

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.