Google clone using HTML and CSS

Image
Program : <html> <!--head section start--> <head> <title>Google</title> <style> span{border-bottom:2px solid royalblue; color:royalblue; border-padding:60px; padding-bottom:10px; } img{position:absolute; left:79px; top:85px; } input{position:absolute; top:189px; height:40px; width:80%; border-radius:80px; border-width:1px; border-style:solid; border-color:darkgray; } .button{background-image:url(/storage/emulated/0/aap/search.jpg); background-size:100% 100%; height:44px; width:70px; position:absolute; top:186px; left:275px; border-color:white; } .button1{background-image:url(/storage/emulated/0/aap/Weather.jpg); position:absolute; top:242px; height:100px; width:100px; background-size:100% 100%; border-color:transparent; } .button2{background-image:url(/storage/emulated/0/aap/Sports.jpg); position:absolute; top:237px; left:80px; height:100px; width:100px; background-size:100% 100%; border-color:transparent; } .button3{background-image:url(/storag

Twitter homepage

I have created a Twitter homepage program using html and css. I have use some of the basic tags of html. You can see these tags in the following program.

Program :

<html>
<head>
<style>
.img1{width:30;
height:20;
top:15px;
}
input{height:35;
width:230;
border-radius:35px;
}
.img2{position: absolute;
top:3px;
}
p{word-spacing:23px;
}
span{color:deepskyblue;
}
.span{color:gray;
font-size:13px;
}
.img3{position:absolute;
right:3px;
top:310px;
}
.img4{position:absolute;
right:3px;
top:665px;
}
.span1{color:black;
}
.button1{background-color:white;
color:deepskyblue;
width:48%;
height:40px;
border-radius:35px;
border-color:deepskyblue;
}
.button2{background-color:deepskyblue;
color:white;
width:48%;
height:40px;
border-radius:35px;
}
</style>
 <meta name="viewport" content="width=device-width">
</head>
<body>
<img class="img1" src="/storage/emulated/0/aap/Twitterlogo.jpg">&nbsp&nbsp
<input type="text" placeholder="Search Twitter">
<img class="img2" src="/storage/emulated/0/aap/threedot.jpg"height="50"width="60">
<br>
<p><span><u>For-you</u></span> Trending News Sports Fun</p>
<img src="/storage/emulated/0/aap/mask.jpg"height="200px"width="343">
<hr>
<span class="span">COVID-19 . LIVE</span><br>
<span class="span1"><b>Coronavirus: Precedent Trump says US<br><img class="img3"src="/storage/emulated/0/aap/img1.jpg"height="70"width="60">
will buy $3 billion worth of food from<br>
farmers</b></span><hr>
<span class="span">Trending in India</span><br>
<span class="span1"><b>#motherday2020</b></span><br>
<span class="span">2,157 Tweets</span><hr>
<span class="span">Trending in India</span><br>
<span class="span1"><b>#azimpremji</b></span><br>
<span class="span">4,592 Tweets</span><hr>
<span class="span">Trending in India</span><br>
<span class="span1"><b>Prophet Muhammad</b></span><br>
<span class="span">11.1K Tweets</span><hr>
<span class="span">Trending in India</span><br>
<span class="span1"><b>#WakeUpIndia</b></span><br>
<span class="span">45.6K Tweets</span><hr>
<span class="span">Celebrity . Yesterday</span><br>
<span class="span1"><b>Fans wish actor Vijay Deveraconda a <br><img class="img4" src="/storage/emulated/0/aap/h.jpg"height="63"width="60">
happy birthday</b></span><hr>
<span class="span">Trending in India</span><br>
<span class="span1"><b>#DimwitSambitPatra</b></span><br>
<span class="span">7,803 Tweets</span><hr><br><br><br><br><br><br><br><br><hr>
<button class="button1"><b>Log in</b></button>
<button class="button2"><b>Sign in</b></button>
</body>
</html>

Output :

                                                        By:~AA

Comments

Popular posts from this blog

Google clone using HTML and CSS

BOOK WEBPAGE

HTML Table