Create a Basic HTML CSS Website Structure

  • Post category:CSS

Get the code of Create a Basic HTML CSS Website Structure and watch video tutorials. You can practice using our code editor. Our practical guide will make your learning journey much easier. You can explore the tutorial and learn.

<div class="website">
  <header>Website</header>
  <section>Content</section>
  <footer>Footer</footer>
</div>
header {
  background: orange;
  padding: 5px;
  text-align: center;
  font-weight: bold;
}
section {
  background: lightblue;
  padding: 5px;
  height: 100px;
}
footer {
  background: black;
  color: white;
  text-align: center;
}