Jump to content

html5 question


stormsearchers

Recommended Posts

<div id="wrapper">
<!-- start of Header-->
<div id="header></div>
        <div id="navbar">
           <ul id="nav">
              <li><a href="#">Home</a></li>
              <li><a href="#">Weather</a></li>
              <li><a href="#">Weather Charts</a></li>
              <li><a href="#">Blog</a></li>
             <li><a href="#">Contact US</a></li>
          </ul>
      </div>
</div>
<!-- start of container--> 
<div id="container"></div>
    <div id="content">
<!-- start of footer--> 
<div id="footer">Copyright © StormSeatchers A.B.N;000 000 000 00. All Rights Resrived.</div>
</div>

Hello I am trying to build a storm chasing website I have started working on the html codes witch I am using html5 and css3 my code seams to be out of place and need some help please am I doing any wrong

Link to comment
Share on other sites

You're missing a closing quote on <div id="header"> but aside from that, it should work fine. You should properly indent your HTML to make it easier to read.

Here's how it should be indented.

<div id="wrapper">
  <!-- start of Header-->
  <div id="header"></div>
  <div id="navbar">
     <ul id="nav">
        <li><a href="#">Home</a></li>
        <li><a href="#">Weather</a></li>
        <li><a href="#">Weather Charts</a></li>
        <li><a href="#">Blog</a></li>
        <li><a href="#">Contact US</a></li>
    </ul>
  </div>
</div>
<!-- start of container--> 
<div id="container"></div>
<div id="content">
  <!-- start of footer--> 
  <div id="footer">Copyright © StormSeatchers A.B.N;000 000 000 00. All Rights Resrived.</div>
</div>
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...