Hello Reader, in this article you will learn how to build a travel agency website using HTML and CSS. The website I am going to share with you in this article is about Traveling. Earlier in this website I have shared a lot of HTML and CSS web designs. It’s super easy to do and you’ll have your own travel website up and running in no time.
If you want to create a website, you are at right place I have create professional website for your business. This is the easiest website builder for small business. Get your website for business to boost your income. Also always choose and create website domain unique and different to attract visitor from all over the world.
What is Website?
A website is a collection of web pages that are linked together. A webpage can contain text, images, videos, animations, and other multimedia elements. Website design and build to explore the world.
HTML is a markup language that is used to create webpages for displaying content on the Internet. It stands for Hypertext Markup Language and it is used to describe how text should be displayed on a webpage by using tags such as h1 to h6 tags, p tags, div tags, list tags and so on.
How to create a travel website tutorial
In the below tutorial, I have create own website for business using HTML and CSS. Create a travel booking website like this, watch this tutorial and do practice
Travel Website
A travel website is a type of business that offers travel-related services to customers. When it comes to the future of this industry, there are many factors that will affect the ways in which people plan their trips. These factors include: the rise of mobile usage, increased competition, and a shift in customer expectations. Travel website maker is best tool for tourists
One example is that people are increasingly using their mobile devices when they are traveling. As such, companies should make sure that their websites are optimized for mobile users. Companies use easy website builder for small business to increase their income. They also need to be aware of the fact that there is an increase in competition when it comes to online booking sites.Â
This means they need to offer more unique features and services if they want to stay competitive in this field. Lastly, customer expectations have changed drastically over the years – with people looking for personalized experiences and more transparency from travel companies. They make website responsive to engage their user and to attract them by making best UI design of Website. Using best website builder and hosting for better website speed and unique web design
Traveling Website Importance
The travel website is an online portal that provides information on flight schedules, hotel reservations, car rentals and other travel-related services. Make website responsive for customer so they can get benefit from your website using mobile or tablets.
Source code
If you like this free business website and want to create free travel agency website, then feel free to use it in your own travel booking website. First, you have to create two files. One of them is HTML, and the other is CSS after creating these files, paste the code provided below.
HTML CODE:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Travel Website | By Code Info</title>
<link rel="stylesheet" href="style.css" />
<!-- Font Awesome Cdn Link -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min.css" />
</head>
<body>
<header>
<div class="container">
<div class="nav_bar">
<div class="logo">
<i class="fa-solid fa-route"></i>
<h4>GO</h4>
</div>
<div class="menu_list">
<a href="#">Home</a>
<a href="#">Blog</a>
<a href="#">Places</a>
<a href="#">Services</a>
<a href="#">Contact US</a>
<button class="lg_btn">Login</button>
</div>
</div>
</div>
</header>
<section class="home_section">
<div class="overlay">
<div class="container">
<div class="home">
<h1><span>meet</span> people <br>discover <span>places</span> <br><span>enjoy</span> time</h1>
<div class="home_buttons">
<button class="btn1">Explore World</button>
<button><i class="fas fa-play"></i>Video</button>
</div>
</div>
</div>
</div>
</section>
<section class="services">
<div class="container">
<div class="title">
<h1>Visit World's best <span>places</span></h1>
<span class="slogan">enjoy your trip.</span>
</div>
<div class="services_boxes">
<div class="box">
<i class="fa-solid fa-hotel"></i>
<h4>Tour Point 1</h4>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Placeat, aspernatur.</p>
</div>
<div class="box br">
<i class="fa-solid fa-plane"></i>
<h4>Tour Point 2</h4>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Placeat, aspernatur.</p>
</div>
<div class="box">
<i class="fa-solid fa-mountain-sun"></i>
<h4>Tour Point 3</h4>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Placeat, aspernatur.</p>
</div>
</div>
</div>
</section>
</body>
</html>
Second, create a CSS file with the name of style.css and paste the given codes in your CSS file. Remember, you have to create a file with .css extension.
CSS CODE:
/* import google fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Work+Sans:ital,wght@0,400;0,500;1,300&display=swap');
*{
margin: 0;
padding: 0;
border: none;
outline: none;
text-decoration: none;
box-sizing: border-box;
font-family: "Poppins", sans-serif;
}
.container{
width: 1100px;
margin: auto;
}
.nav_bar{
padding: 15px;
display: flex;
align-items: center;
justify-content: space-between;
}
.logo{
display: flex;
align-items: center;
font-size: 1.4rem;
}
.logo i{
margin-right: 10px;
color: rgb(228, 151, 8);
font-size: 1.8rem;
}
/* menu list style */
.menu_list a{
margin: 1.2rem;
font-size: 14px;
color: rgb(82, 79, 79);
}
.lg_btn{
margin-left: 2rem;
padding: 5px 1rem;
border-radius: 10px;
color: #fff;
background: rgb(228, 151, 8);
cursor: pointer;
}
.menu_list a:hover{
color: #000;
}
/* Home section style */
.home_section{
background-image: url(./pic/bg.jpg);
background-size: cover;
height: 100vh;
}
.overlay{
height: 100%;
background: rgba(0, 0, 0, 0.6);
}
.home{
height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
}
.home h1{
font-size: 4rem;
color: #fff;
text-transform: capitalize;
}
.home span{
color: rgb(228, 151, 8);
}
.home_buttons{
margin-top: 2rem;
}
.home_buttons button{
padding: 10px 1rem;
border-radius: 10px;
margin: 1rem;
cursor: pointer;
font-size: 1rem;
}
.home_buttons button i{
margin-right: 10px;
}
.home_buttons .btn1{
background: rgb(228, 151, 8);
color: #fff;
}
/* services */
.services{
background: rgb(223, 223, 223);
padding: 2rem 1rem;
}
.services .title{
text-align: center;
}
.title h1{
font-size: 2rem;
text-transform: capitalize;
}
.title span{
color: rgb(228, 151, 8);
}
.title .slogan{
font-size: 1rem;
color: gray;
}
.services_boxes{
display: flex;
align-items: center;
justify-content: center;
margin-top: 1rem;
}
.box{
width: 320px;
background: #fff;
padding: 2rem;
margin: 1rem 2rem;
text-align: center;
border-radius: 10px;
border: 2px solid transparent;
box-shadow: 1px 30px 20px rgba(0, 0, 0, 0.1);
}
.box i{
font-size: 4rem;
color: rgb(228, 151, 8);
margin-bottom: 2rem;
}
.box p{
color: gray;
margin-top: 10px;
}
.box:hover, .br{
border: 2px solid rgb(228, 151, 8);
}
I hope you liked this snippet. If so, please share the blog and follow us in our social media profiles and stay connected with this blog. Thank you for visiting.