Hi! friends,
I'm Deepak Sharma 26,well it's my first HTML website which I have created of my own.It took me so much time to code it ,because it was so lengthy to write different pages of same kind of purpose containing different contents.And link them to each other.
Well,this website is about Tour & Travels by me. It consists of different pages like booking, home, contact etc.Well It's not a proper website you see on internet, it's just a full working layout.
Let's see the First page,
Home
<!DOCTYPE html>
<html>
<head><meta name="viewport" content="width=device-width, initial-scale=1">
<style>
.sidenav {
display: none;
height: 100%;
width: 190px;
position: fixed;
z-index: 1;
top: 0;
left: 0;
background-color: #111;
overflow-x: hidden;
padding-top: 60px;
}
.sidenav a {
padding: 8px 8px 8px 3px;
text-decoration: none;
font-size: 25px;
color: #818181;
display: block;
}
.sidenav a:hover {
color: #f1f1f1;
}
.sidenav .closebtn {
position: absolute;
top: 0;
right: 25px;
font-size: 36px;
margin-left: 50px;
}
@media screen and (max-height: 450px) {
.sidenav {padding-top: 15px;}
.sidenav a {font-size: 18px;}
}
header {
background-color:red;
color:white;
text-align:center;
padding:5px;
}
nav {
line-height:30px;
background-color:grey;
height:480px;
width:100px;
float:left;
padding:5px;
}
section {
width:450px;
float:left;
padding:10px;
margin-left:10px;
height:470px;
}
footer {
background-color:black;
color:white;
clear:both;
text-align:center;
padding:5px;
}
ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #333;;
}
li {
float: right;
}
li a {
display: block;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
li a:hover:not(.active) {
background-color: #111;
}
.active {
background-color: #4CAF50;
}
</style>
</head>
<body>
<header>
<div id="mySidenav" class="sidenav">
<a href="javascript:void(0)" class="closebtn" onclick="closeNav()" style="text-decoration:none;">×</a>
<a href="#" style="text-decoration:none;">Payment</a>
<a href="#" style="text-decoration:none;">Services</a>
<a href="#" style="text-decoration:none;">Clients</a>
<a href="#" style="text-decoration:none;">More</a>
</div>
<h1>
<font style="font-size:30px;cursor:pointerleft;" onclick="openNav()">☰ </font>
<font style="margin-left:105px;margin-right:55px;"> Deepak's Tours & Travels</font></h1>
</header>
<script>
function openNav() {
document.getElementById("mySidenav").style.display = "block";
}
function closeNav() {
document.getElementById("mySidenav").style.display = "none";
}
</script>
<ul>
<li><a href="content://com.mi.android.globalFileexplorer.myprovider/external_files/Contact.html" >Contact</a></li>
<li><a href="content://com.mi.android.globalFileexplorer.myprovider/external_files/About%20us.html" >About us</a></li>
<li><a href="content://com.mi.android.globalFileexplorer.myprovider/external_files/Booking.html" >Booking</a></li>
<li><a class="active">Home</a></li>
</ul>
<nav>
Deepak Sharma 26 is the best of all.
</nav>
<section >
<center><h2><u>Search Your Dream Place</u></h2></center>
<p><input type="search" name="search" style="border-radius:5px;width:250px;margin-left:79px;">
<input type="submit" name="submit" value="Search" style="border-radius:5px;background-color:blue;color:white;"></p>
<fieldset style="width:450px;"><legend><h4>Top Trending Places</h4></legend>
<marquee>
<img src="https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcSqpU5vRFG8V13idMPT1Dyc8vJAvferH3eb1LdaXbd5hhNeRAon" width="300px" height="250px">
<img src="https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcSLc7Q9rH8Q-VuVxYYctSl3f4jeHuw-As_3k5pGzMBdvG3XSe2B" width="300px" height="250px">
<img src="https://amp.insider.com/images/5c3619ac01c0ea18b64ca9e4-750-563.jpg" width="300px" height="250px">
<img src="https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcRk_Yj8kgZpc65HpGn7zqXLjXGv_rL7MvPSZyZmLDoAkrfkZq4b" width="300px" height="250px">
<img src="https://www.mediastorehouse.com/p/629/bristol-clifton-suspension-bridge-15231505.jpg.webp" width="300px" height="250px">
<img src="https://encrypted-tbn0.gstatic.com/images?q=tbn%3AANd9GcTUVrDtieN5BiVzbf7UvT7-JQlEM5DLSK12gOviZGM2fUfcyuNH" width="300px" height="250px">
<img src="https://www.visittnt.com/blog/wp-content/uploads/2017/08/Thiruparankundram-Madurai-1024x575-1.jpg" width="300px" height="250px">
</marquee>
</fieldset>
</section>
<footer>
Copyright © deepakcodes.blogspot.com
</footer>
</body>
</html>
The output of this page is,
The second page,
Booking
<!DOCTYPE html>
<html>
<head> <meta name="viewport" content="width=device-width, initial-scale=1">
<style>
.sidenav {
display: none;
height: 100%;
width: 190px;
position: fixed;
z-index: 1;
top: 0;
left: 0;
background-color: #111;
overflow-x: hidden;
padding-top: 60px;
}
.sidenav a {
padding: 8px 8px 8px 3px;
text-decoration: none;
font-size: 25px;
color: #818181;
display: block;
}
.sidenav a:hover {
color: #f1f1f1;
}
.sidenav .closebtn {
position: absolute;
top: 0;
right: 25px;
font-size: 36px;
margin-left: 50px;
}
@media screen and (max-height: 450px) {
.sidenav {padding-top: 15px;}
.sidenav a {font-size: 18px;}
}
header {
background-color:red;
color:white;
text-align:center;
padding:5px;
}
nav {
line-height:30px;
background-color:grey;
height:580px;
width:100px;
float:left;
padding:5px;
}
section {
width:420px;
float:left;
padding:10px;
margin-left:50px;
height:570px;
}
footer {
background-color:black;
color:white;
clear:both;
text-align:center;
padding:5px;
}
ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #333;;
}
li {
float: right;
}
li a {
display: block;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
li a:hover:not(.active) {
background-color: #111;
}
.active {
background-color: #4CAF50;
}
</style>
</head>
<body>
<header>
<div id="mySidenav" class="sidenav">
<a href="javascript:void(0)" class="closebtn" onclick="closeNav()" style="text-decoration:none;">×</a>
<a href="#" style="text-decoration:none;">Payment</a>
<a href="#" style="text-decoration:none;">Services</a>
<a href="#" style="text-decoration:none;">Clients</a>
<a href="#" style="text-decoration:none;">More</a>
</div>
<h1>
<font style="font-size:30px;cursor:pointerleft;" onclick="openNav()">☰ </font>
<font style="margin-left:105px;margin-right:55px;"> Deepak's Tours & Travels</font></h1>
</header>
<script>
function openNav() {
document.getElementById("mySidenav").style.display = "block";
}
function closeNav() {
document.getElementById("mySidenav").style.display = "none";
}
</script>
<ul>
<li><a href="content://com.mi.android.globalFileexplorer.myprovider/external_files/Contact.html" >Contact</a></li>
<li><a href="content://com.mi.android.globalFileexplorer.myprovider/external_files/About%20us.html" >About us</a></li>
<li><a class="active" href="#" >Booking</a></li>
<li><a href="content://com.mi.android.globalFileexplorer.myprovider/external_files/Home.html">Home</a></li>
</ul>
<nav>
Deepak Sharma 26 is the best of all.
</nav>
<section>
<center><h2><u>Enter your details.</u></h2></center>
<iframe src="content://com.mi.android.globalFileexplorer.myprovider/external_files/Input%20details.html" style="width:400px;height:350px;"></iframe>
<br><b>Your total payable amount: </b><input type="number" value="10000" style="border-radius:5px;width:90px"><br><br>
<b>Pay your payment by: </b><input type="text" style="border-radius:5px; " >
<br><br><center><input type="submit" value="Book" style="background-color:blue;color:white;border-radius:5px;height:30px;width:60px;"></center><br><br>
</section>
<footer>
Copyright © deepakcodes.blogspot.com
</footer>
</body>
</html>
which again consists a another page,
Input details
<html>
<head><title>Input Details.</title></head>
<body style="background-color:lightgrey;">
<form><center>
<b>First Name:</b><input type="text" placeholder="First Name" style="background-color:skyblue; border-radius:5px;" autofocus><br><br>
<b>Last Name:</b><input type="text" placeholder="Last Name" style="background-color:skyblue; border-radius:5px;"><br><br>
<b>Email Id:</b><input type="email" placeholder="Email id" style="background-color:burlywood; border-radius:5px;"><br><br>
<b>Phone No.</b><input type="tel" placeholder="Enter Phone no." maxlength="10" style="border-radius:5px; background-color:burlywood"><br><br>
<b>Address:</b><input type="text" placeholder="Address" style="background-color:burlywood; border-radius:5px;"><br><br>
<center><h3>No. of Members:</center></h3>
<input type="number" placeholder="No. of adults" style="background-color:lightblue; border-radius:5px; width:95px; margin-left:15px;">
<input type="number" placeholder="No. of children" style="background-color:lightblue; border-radius:5px; width:95px; margin-left:110px;"><br><br>
<b>No. of Rooms</b><input type="number" placeholder="No. of Rooms" style="background-color:lightblue;border-radius:5px; width:145px; margin-left:20px;"><br><br>
<b>No. of Days for holiday:</b><input type="number" placeholder="Days" style="background-color:lightblue;border-radius:5px; width:110px; margin-left:10px;"><br><br>
<b>Date of Arrival:</b><input type="date" placeholder="Date of Arrival " style="background-color:lightgreen; border-radius:5px; margin-left:55px;"><br><br>
<b>Place of Arrival:</b><input type="text" placeholder="Place of Arrival" style="background-color:lightgreen; border-radius:5px; margin-left:25px;"><br><br>
<b>Place to Travel:</b><input type="text" placeholder="Place to travel" style="background-color: lightgreen; border-radius:5px; margin-left:35px;"><br><br>
<b>Transportation:</b><input list="vehicle" name="vehicle" placeholder="Choose your vehicle" style="border-radius:5px;background-color:lightgreen;margin-left:20px;"><datalist id="vehicle">
<option value="Car">
<option value="Bus">
<option value="Train">
<option value="Aeroplane">
</datalist>
<br><br><br>
<input type="reset" value="Clear" style="border-radius:5px; background-color:red; color:white;">
<input type="submit" value="Save" style="border-radius:5px; background-color:green; color:white;margin-left:150px;"></center>
</form>
</body>
</html>
The output is,
The third page is,
About us
<!DOCTYPE html>
<html>
<head> <meta name="viewport" content="width=device-width, initial-scale=1">
<style>
.sidenav {
display: none;
height: 100%;
width: 190px;
position: fixed;
z-index: 1;
top: 0;
left: 0;
background-color: #111;
overflow-x: hidden;
padding-top: 60px;
}
.sidenav a {
padding: 8px 8px 8px 3px;
text-decoration: none;
font-size: 25px;
color: #818181;
display: block;
}
.sidenav a:hover {
color: #f1f1f1;
}
.sidenav .closebtn {
position: absolute;
top: 0;
right: 25px;
font-size: 36px;
margin-left: 50px;
}
@media screen and (max-height: 450px) {
.sidenav {padding-top: 15px;}
.sidenav a {font-size: 18px;}
}
header {
background-color:red;
color:white;
text-align:center;
padding:5px;
}
nav {
line-height:30px;
background-color:grey;
height:419px;
width:100px;
float:left;
padding:5px;
}
section {
width:507px;
float:left;
padding:1px;
margin-left:5px;
height:427px;
}
footer {
background-color:black;
color:white;
clear:both;
text-align:center;
padding:5px;
}
ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #333;;
}
li {
float: right;
}
li a {
display: block;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
li a:hover:not(.active) {
background-color: #111;
}
.active {
background-color: #4CAF50;
}
</style>
</head>
<body>
<header>
<div id="mySidenav" class="sidenav">
<a href="javascript:void(0)" class="closebtn" onclick="closeNav()" style="text-decoration:none;">×</a>
<a href="#" style="text-decoration:none;">Payment</a>
<a href="#" style="text-decoration:none;">Services</a>
<a href="#" style="text-decoration:none;">Clients</a>
<a href="#" style="text-decoration:none;">More</a>
</div>
<h1>
<font style="font-size:30px;cursor:pointerleft;" onclick="openNav()">☰ </font>
<font style="margin-left:105px;margin-right:55px;"> Deepak's Tours & Travels</font></h1>
</header>
<script>
function openNav() {
document.getElementById("mySidenav").style.display = "block";
}
function closeNav() {
document.getElementById("mySidenav").style.display = "none";
}
</script>
<ul>
<li><a href="content://com.mi.android.globalFileexplorer.myprovider/external_files/Contact.html" >Contact</a></li>
<li><a class="active" >About us</a></li>
<li><a href="content://com.mi.android.globalFileexplorer.myprovider/external_files/Booking.html" >Booking</a></li>
<li><a href="content://com.mi.android.globalFileexplorer.myprovider/external_files/Home.html">Home</a></li>
</ul>
<nav>
Deepak Sharma 26 is the best of all.
</nav>
<section style="background-color:steelblue;color:white;">
<center><h1>About Us</h1></center>
<center><del><pre> </pre></del><h3>Our Story</h3><del><pre> </pre></del></center>
<center style="padding:10px;">Just over a year ago, we became fascinated by the ideas of
discovering the worldthrough someone else's eyes.What if you could
see through the eyes of a protestor in Ukraine? Or watch a sunrise from a hot air
ballon in Cappadocia? It may sound crazy.but we wanted to build
the closest thing to teleportaion.While there are many ways to discover events and
places, we realized there is no such a better way to experience a place right now
than to be there.A picture may be worth of a thousand words,but the feeling can
take you someplace and show you around.</center>
</section>
<footer>
Copyright © deepakcodes.blogspot.com
</footer>
</body>
</html>
The output is,
The fourth page is,
Contact
<!DOCTYPE html>
<html>
<head> <meta name="viewport" content="width=device-width, initial-scale=1">
<style>
.sidenav {
display: none;
height: 100%;
width: 190px;
position: fixed;
z-index: 1;
top: 0;
left: 0;
background-color: #111;
overflow-x: hidden;
padding-top: 60px;
}
.sidenav a {
padding: 8px 8px 8px 3px;
text-decoration: none;
font-size: 25px;
color: #818181;
display: block;
}
.sidenav a:hover {
color: #f1f1f1;
}
.sidenav .closebtn {
position: absolute;
top: 0;
right: 25px;
font-size: 36px;
margin-left: 50px;
}
@media screen and (max-height: 450px) {
.sidenav {padding-top: 15px;}
.sidenav a {font-size: 18px;}
}
header {
background-color:red;
color:white;
text-align:center;
padding:5px;
}
nav {
line-height:30px;
background-color:grey;
height:465px;
width:100px;
float:left;
padding:5px;
}
section {
width:497px;
float:left;
padding:5px;
margin-left:7px;
height:465px;
}
footer {
background-color:black;
color:white;
clear:both;
text-align:center;
padding:5px;
}
ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #333;;
}
li {
float: right;
}
li a {
display: block;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
li a:hover:not(.active) {
background-color: #111;
}
.active {
background-color: #4CAF50;
}
</style>
</head>
<body>
<header>
<div id="mySidenav" class="sidenav">
<a href="javascript:void(0)" class="closebtn" onclick="closeNav()" style="text-decoration:none;">×</a>
<a href="#" style="text-decoration:none;">Payment</a>
<a href="#" style="text-decoration:none;">Services</a>
<a href="#" style="text-decoration:none;">Clients</a>
<a href="#" style="text-decoration:none;">More</a>
</div>
<h1>
<font style="font-size:30px;cursor:pointerleft;" onclick="openNav()">☰ </font>
<font style="margin-left:105px;margin-right:55px;"> Deepak's Tours & Travels</font></h1>
</header>
<script>
function openNav() {
document.getElementById("mySidenav").style.display = "block";
}
function closeNav() {
document.getElementById("mySidenav").style.display = "none";
}
</script>
<ul>
<li><a class="active">Contact</a></li>
<li><a href="content://com.mi.android.globalFileexplorer.myprovider/external_files/About%20us.html" >About us</a></li>
<li><a href="content://com.mi.android.globalFileexplorer.myprovider/external_files/Booking.html" >Booking</a></li>
<li><a href="content://com.mi.android.globalFileexplorer.myprovider/external_files/Home.html">Home</a></li>
</ul>
<nav>
Deepak Sharma 26 is the best of all.
</nav>
<section style="background-color:chocolate;color:white;">
<center><h2>Welcome!</h2></center>
Welcome to my first webpage.I created this webpage without the assistance of webpage editor.Just my little text editor and
a keen understanding of html.
<p>Look around.Notice I'm able to use paragraphs,lists and headings.You may not be able to tell,but the layout is by myself.
I'm very clever.</p>
<p style="margin-left:80px;">I always wanted to be somebody, but now I realize I should have been more specific.
<br><br><i>Deepak Sharma 26</i></p>
<hr><br>
<i>Deepak Sharma<br>
Student(IICS)<br>
522.5445.5445<br>
Contact me at <u><a href="#" >deepaksharma26.@gmail.com</a></u>
</i>
</section>
<footer>
Copyright © deepakcodes.blogspot.com
</footer>
</body>
</html>
The output is,
Well guys this is all about , my first website.
Now Check it out on Internet for real :



















