title: Is element ‘ul’ cannot be nested within element ‘ol’? (i am getting this error from xhtml validator) help pls
body: <pre><code>&lt;ol style="padding-top:0;"&gt;
  &lt;li&gt;&lt;a href="http://www.24hourfitness.com/membership/offers/specials.html?cm_mmc=Silverfox-_-SEM-_-Google-_-Branded?"&gt;24 Hour Fitness&lt;/a&gt;&lt;/li&gt;
  
      &lt;!-- open nested list --&gt;
      &lt;ul&gt;
      &lt;li&gt;This website would be ideal to use as a reference. The information provided lists references and is also very detailed. You feel confident in what you read in this website as being factual and helpful.&lt;/li&gt;
      &lt;li&gt;source code – body section&lt;/li&gt;
  
          &lt;!-- open nested list --&gt;
          &lt;ol type="a"&gt;
          &lt;li&gt;Don't display unfriendly errors directly to the user.&lt;/li&gt;
          &lt;li&gt;Used SSL/HTTPS for login and any pages where sensitive data is entered (like credit card info).&lt;/li&gt;
          &lt;li&gt;Written &lt;a href="http://www.w3.org/TR/xhtml1/" target="_blank"&gt;XHTML&lt;/a&gt;/HTML and CSS according to the &lt;a href="http://www.w3.org/"&gt;W3C specifications&lt;/a&gt; and make sure they validate. The goal here is to avoid browser quirks modes and as a bonus make it much easier to work with non-standard browsers like screen readers and mobile devices.&lt;/li&gt;
          &lt;li&gt;Have some system for people to contact you with suggestions and criticism.&lt;/li&gt;
          &lt;/ol&gt; 
          &lt;!-- closed nested list --&gt;
  
      &lt;li&gt;The website’s goal is to encourage membership at 24 Hour Fitness gyms.  This is very easy to determine by both the 24 Hour Fitness banner and the “Membership” banner. The website than provides a number of membership options.
      You can locate your local gyms without any problems at all.&lt;/li&gt;
      &lt;li&gt;The website is quite easy to navigate around. The main reason is because of the six drop down menus at the bottom of the 24 Hour Fitness banner.
      These drop down menus remain visible and constant for the majority of the web pages in the site.
      For instance, when you click on “Shop” you are sent to a related website so the banner and the drop down menus change.&lt;/li&gt;
          &lt;/ul&gt;
          &lt;!-- closed nested list --&gt;
  &lt;/ol&gt;
  </code></pre>