Web Development Tutorial for Beginners (P-2, Part-4) – How to build webpages with HTML, CSS.

Web Development:- Web Development tutorial for beginner step by step Tutorials In this overview of Web Development, you’ll learn HTML, CSS.

Code: index.html

<!DOCTYPE html>
<html>
<head>
<title>bksit_project_2</title>
<meta name=”author” content=”your name”/>
<meta name=”description” content=””/>
<link rel=”stylesheet” href=”style.css” type=”text/css”/>
<meta charset =”utf-8″>
</head>
<body>
<div id=”page”>
<div id=”logo”>
<div id=”login”>
<h4><a href=”/”>login/logout</a></h4>
</div>
<h1><img src=”logo.png” width=”148″ height=”46″ alt=””/></h1>
</div>
<div id=”nav”>
<ul>
<li><a href=”index.html”>Home</a></li>
<li><a href=”index.html”>About us</a></li>
<li><a href=”index.html”>Programme</a></li>
<li><a href=”index.html”>Gallery</a></li>
<li><a href=”index.html”>contact</a></li>
</div>

</body>
</html>

Code: style.css

p{line-heigh: 1em;}
h1,h2, h3, h4{
line-heigh:1.1em;
margin:00:5em 0;
}
h1{}
h2{}
a{
color: black;
text-decoration: none;
}
body{
font-family: arial;
font-size: 80%;
font-weight:normal;
line-heigh:1.2em;
width: 100%;
margin:0;
background:#eee;
}
#page{margin: 20px;}
#login{
width: 35%;
margin-top: 5px;
text-align: right;
float: right;
padding:5px;
text-shadow: #E1070B;
color:grey;
} #login a{
text-align:right;
text-transform: uppercase;
font-size: 80%;
color: #000000;
}
#logo{
width:97%;
margin-top:5px;
display: inline-block;
background:#6DE1F4;
padding: 20px;
}
#nav{
width:100%;
text-align:left;
float: left;
heigh: 43px;
background: #03073e;
}
#nav ul{}
#nav ul li{
display: inline-block;
height:15px;
}

 

Leave a Reply

Your email address will not be published. Required fields are marked *