CSS Basic

"

<!DOCTYPE html>
<html>
<head>
<title>Introduse with html parts</title>
<style type="text/css">
.header{
width: auto;
height: 100px;
background-color: #458569;
color: blue;
text-align: center;
}
.container{
width: auto;
height: 500px;
}

.nav{
width: 30%;
height: 500px;
float: left;
background-color: #123456;
color: white;
margin-top: -1.5%;
text-align: center;
}

.main{
width: 70%;
height: 500px;
float: right;
background-color: #158626;
color: white;
margin-top: -1.5%;
text-align: center;
}

.footer{
width: auto;
height: 100px;
background-color: #965874;
color: white;
text-align: center;
margin-top: -3%;
}



</style>

</head>

<body>

<div class="header"><h1>Header</h1></div>

<div class="container">
<div class="nav"><h1>NAV</h1></div>
<div class="main"><h1>MAIN</h1></div>

</div>
<div class="footer"><h1>FOOTER</h1></div>

</body>
</html>


"

Comments