سلام
راستش من هنوز html5 رو درست و حسابی کار نکردم. یه سری کد نوشتم برای یه قالب سه ستونه ی ساده که از سایت w3c گرفتم.
خواستم ببینم این روش روش استانداری هست یا نه؟ یا تگ هایی که استفاده کردم باید چیز دیگه باشن؟
متشکرم.
کد HTML:
<!DOCTYPE html>
<html>
<head>
<title> آموزش ساخت قالب وبلاگ </title>
<meta charset="utf-8">
<style type="text/css">
.kol{
border:1px #000000 solid;
height:500px;
}
#header{
border:1px #000000 solid;
width:1000px;
height:200px;
margin:0 auto;
text-align:center;
background-color:#41e8e6;
}
#nav{
border:1px #000000 solid;
width:1000px;
height:40px;
margin:0 auto;
text-align:center;
background-color:#e416e6;
}
#sidebar1{
border:2px #0ced61 solid;
width:20%;
height:200px;
float:right;
text-align:center;
background-color:#0ec5d0;
}
#main{
border:2px #ed0c61 solid;
width:57%;
height:200px;
float:right;
text-align:center;
background-color:#0ed065;
}
#sidebar2{
border:2px #2925e9 solid;
width:20%;
height:200px;
float:left;
text-align:center;
background-color:#12cfc8;
}
#footer{
border:1px #1fdcda solid;
width:1000px;
height:40px;
margin:0 auto;
text-align:center;
background-color:#cfa512;
}
</style>
</head>
<body>
<div class="kol">
<div id="header">
هدر
</div>
<div id="nav">
منو
</div>
<div id="sidebar1">
راست
</div>
<div id="main">
وسط
</div>
<div id="sidebar2">
چپ
</div>
</div>
<div id="footer">
فوتر
</div>
</body>
</html>