HTML & CSS Project

HTML & CSS FIRST Project   (  First try to create a website by using html and css )




Html code :-

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>website css and html</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
 <header>
   <div class="nav">
 <ul>
   <li> <a href=""> Home </a></li>
   <li> <a href=""> about </a></li>
   <li> <a href=""> project </a>
 <ul>
   <li> <a href=""> HTML </a></li>
   <li> <a href=""> css </a></li>
   <li> <a href="">   C </a></li> 
   <li> <a href=""> C++ </a></li>
   <li> <a href=""> JAVA </a></li>
   <li> <a href=""> Game </a></li> 
 </ul>
                
 </li>
   <li> <a href=""> protfolio </a></li>
   <li> <a href=""> book </a></li>
 <ul>
   <li> <a href=""> Islamic Book </a></li>
   <li> <a href=""> Text Book </a></li>
   <li> <a href=""> Note </a></li> 
 </ul>
  </li>
   <li> <a href=""> artical </a></li>
 </ul>
 </div>
   <div class="banner">
    <div class="banner-text">
     <p>coin by<h1>Abrar Fahim</h1></p>
      <div class="log-in">
        <h4>.</h4>
         <button type="submit">Log In</button>
   </div>
        </div>
    </div>
    <div class="about-section">
        <div class="title">
         <p>&nbsp &nbsp; &nbsp; &nbump;&nbsp &nbsp Gmail: 
abrarfahimtasin@gmail.com
      &nbsp; &nbsp connect:**************</p>
  </div>
   <div class="about">
    <div class="raw">
       <div class="col">
      <div class="image">
       <img src="img/fa.jpg" alt="">
   </div>
 </div>
 <div class="col"> 
  <div class="text">
   <h2><p>&#127463;&#127465;</p></h2> 
  <h1>About Us</h1>
  <blockquote></blockquote>
<h2>
  Transform higher education  </h2>
 <h4>Open Library is an open project: the software is open,
    the data are open, the documentation is open, and we
    welcome your contribution. Whether you fix a typo,add 
    a book, or write a widget--it's all welcome. We have
    a small team of fantastic  programmers who have
   accomplished a lot, but we can't do it alone!<br> <br>
   One web page for every book ever published. It's a
   lofty but achievable goal. <br> <br>To  bui
 Library, we need hundreds of millions of book records,
 a wiki interface, and lots of people who are willing
to contribute their .</h4>
            </div>                                          
         </div> 
        </div>
    </div> 
    </div>
    
    <div class="service">
            <div class="ser">
                <p>service</p>
            </div>
        </div>
    </header>
</body>
</html>





css code:






*{
    padding0;
    margin0;
}

header{
    width:960px;
    heightauto;
    margin0 auto;
}
.nav{
    width960px;
    heightauto;
    backgroundblack;
}
.nav ul li{
    list-stylenone;
    displayinline-block;
    positionrelative;
}
.nav ul li a {
displayblock
padding20px 35px;
font-size20px;
font-weightbold;
coloraqua;
text-transformuppercase;
text-decorationnone;
}
 .nav ul li a:hover{
     color:black ;
     backgrounddarkcyan;
 }

 .nav ul li ul{
     positionabsolute
     background#000;
     left-9999px;
 }
 .nav ul li:hover ul{
    left0px;
}
.nav ul li ul li {
    width250px;
    border-bottom1px solid #fff;
}
.banner{
    background-imageurl(website.jpg) ;
    height70vh;
    background-positioncenter;
    background-repeatno-repeat;
}

.banner-text{
    padding205px 80px ;
}
.banner-text h1{
    text-alignleft;
    color:black;
    text-indent70px;
    font-size50px;
    text-indent30px;
    top50%;

    
}
.log-in{
    padding100px 0px;
    padding2px 0px 0px 2px;
    text-alignright;
    border#000;
}
.log-in h4{
    color:#ffd700;
    font-size20px;
    font-styleitalic;
    font-weightbold;
    padding30px 30px;
}
.log-in button{
    background:darkcyan;
   font-size20px;
   font-weightbolder;
   text-transformuppercase;
   padding10px ;
   colorblack;

}
.log-in button:hover{
    colorblack;
    backgroundrgb(920219);
}
.image{
   width520px;
   heightauto;
   margin5px;
   box-shadow1px px 1px 0px black;
}
.text{
    width420px;
    heightauto;
}
.text h1{
    padding0px 0px 0px 96px;
    colorblue;
}
.text h2{
    padding20px 20px 20px 20px;
    
}
.raw{
    overflowauto;
}
.col{
    floatleft;
    
}
.about-section{
    backgroundrgb(209176176);
.title {
    text-aligncenter;
    padding20px 60px 10px 10px ;
}
.text h4{
    padding0;
    margin0;
}
.service-section{
    backgroundrgb(7719110);
}
.service{
    width220px;
    heightauto;
}
.ab{
    width260px;
    heightauto;
}
.service{
    background-color:blue;
}

Comments

popuiar post

HTML & CSS FIRST Project ( First try to create a website by using html and css )

A program to find the grade and CGPA of given number of a subject using nested conditional statement (if-else statement)

Calculator example using C code

সুপ্রভাত সবাইকে

C code to create stop watch