Google News
logo
Test
Create A Basic Website
  Source Code
  HTML Code
<html>
<head>
<title>Basic HTML Page</title>
<link rel="stylesheet" type="text/css" href="css/style.css" />
</head>
<body>

<div id="wrapper">

<!----- Start Header (or) Menu ------>
	<div id="nav">
    	<ul>
        	<li><a href="#">Home</a></li>
            <li><a href="#">About Us</a></li>
            <li><a href="#">Servises</a></li>
            <li><a href="#">Gallery</a></li>
            <li><a href="#">Blog</a></li>
            <li><a href="#">Contact Us</a></li>
        </ul>
    </div>
<!----- End Header (or) Menu ------>


<!----- Start Slider (or) Banner ------>
    <div class="banner">
   		 <img src="images/banner.jpg" alt="Banner Image" /> 
    </div>
<!----- End Slider (or) Banner ------>
    
<!----- Start Content ------>
    <div class="content">
    
        <div class="content-left">
        	<div class="content-header">Content Left</div>
            <div class="clearfix"></div>
            <img src="images/content-left.jpg" />
            <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the 
            industry's standard dummy text ever since the 1500s,..</p>
            <a href="#" class="btn">Read More</a>
        </div>
        
        <div class="content-right">
        	<div class="content-header">Content Right</div>
            <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the 
            industry's standard dummy text ever since the 1500s,..</p>
            <h4> &nbsp; Sample Heading</h4>
            <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the 
            industry's standard dummy text ever since the 1500s,..</p>
            <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the 
            industry's standard dummy text ever since the 1500s...</p>
        </div>
        
    </div>
 <!------ End Content ------->
 
<!------ Start Footer ------->
    <div id="footer">
    	<ul>
        	<li><a href="#">Home</a></li>
            <li><a href="#">About Us</a></li>
            <li><a href="#">Servises</a></li>
            <li><a href="#">Gallery</a></li>
            <li><a href="#">Blog</a></li>
            <li><a href="#">Contact Us</a></li>
        </ul>
        <div class="clearfix"></div>
        <div id="copyrights">
        	&copy; 2015. All rights reserved by <a href="http://www.freetimelearning.com" target="_blank">Free Time Learn</a>.
        </div>
    </div>
<!------ End Footer ------->

</div>

</body>
</html>
  CSS Code (style.css)
*{
	margin-left:auto;
	margin-right:auto;
}
body{
	font-family:Arial, Helvetica, sans-serif;
	background:#FFF;
	margin:0px;
	}
.clearfix{ clear:both;}
#wrapper{ 
	width:1024px; 
	margin:0px auto; 
	background:#FFF; 
	border:1px solid #CCC;
}

/*********** Start Header (or) Menu **********/
#nav{ 
	width:1024px;
	float:left;
	background:#CCC;
}
#nav ul{
	list-style:none;
	}
#nav ul li{
	list-style:none;
	font-family:arial;
	font-size:14px;
	text-transform:uppercase;
	padding:10px 0px 15px 0px;
	margin:5px 0px 12px;
	float:left;
	font-weight:bold;
}
#nav ul li a{
	padding:10px 45px 10px 45px;
	margin:5px 0px;
	text-decoration:none;
	color:#000;
	}
#nav ul li a:hover{
	color:#000;
	background:#FFF;
	}
/*********** End Header (or) Menu **********/
	
/************* Start Slider (or) Banner *************/
.banner{ 
	width:1024px;
	height:auto;
}
/************** End Slider (or) Banner *************/

/*************** Start Content *****************/	
.content{ 
	width:1022px;
	height:auto;
	border:1px solid #CCC;
	float:left;
	padding-bottom:20px;
}

.content-left{ 
	width:290px;
	height:auto;
	float:left;
	margin:5px;
}
p{
	font-size:14px;
	color:#000;
	line-height:24px;
	padding:10px;
	text-align:justify;
}
.content-right{ 
	width:712px;
	height:auto;
	float:left;
	margin:5px;
}
.content-header{
	background:#CCC;
	color:#000;
	font-size:18px;
	text-align:justify;
	padding:7px 10px 7px 10px;
	}

.btn{
	background:#069;
	color:#FFF;
	font-size:12px;
	padding:7px 20px;
	margin-left:10px;
	text-decoration:none;
	}
.btn:hover{
	background:#004F75;
	color:#FFF;
	
	}
/************ End Content **************/


/************ Start Footer *****************/
#footer{ 
width:1024px;
float:left;
background:#CCC;
}
#footer ul{
	list-style:none;
	}
#footer ul li{
	list-style:none;
	font-family:arial;
	font-size:10px;
	text-transform:uppercase;
	padding:15px 0px 5px 0px;
	margin:5px 0px 12px;
	float:left;
	font-weight:bold;
}
#footer ul li a{
	padding:10px 55px 10px 55px;
	margin:5px 0px;
	text-decoration:none;
	color:#000;
	}
#footer ul li a:hover{
	color:#FFF;
	}

#copyrights{
	font-size:12px; 
	color:#000;
	text-align:center;
	padding:5px 0px 10px 0px;
	}
#copyrights a{ 
color:#069;
text-decoration:none;
}
#copyrights a:hover{
	color:#666;
	}
/*************** End Footer ***********/