Computer Science, asked by user7050, 1 month ago

Write a program to create a webpage using different tags of HTML.​​

Answers

Answered by Ronithreddy
1

<html>

<head>

<style>

.card {

max-width: 200px;

margin: auto;

text-align: center;}

#main{

background-image: url('Travel.jpg');

background-repeat: no-repeat;

background-size:cover;

}

.price {

color: blue;

font-size: 18px;

}

.card button {

padding:10px;

color: white;

background-color: green;

text-align: center; }

</style>

</head>

<body id="main">

<h2 style="text-align:center">Place to visit in India</h2>

<div class="card">

<img src="download.jpg" style="width:100%">

<h1><b>Explore Best In India</b></h1>

<h2 class="price">INR 39,990/-</h2>

<h2>

<ul>

<li>Manali</li>

<li>Rushikesh</li>

<li>Chadar Trek</li>

<li>Andaman and Nicobar</li>

<li>Mount Abu</li>

</ul>

</h2>

<p><button>Book Here</button></p>

</div>

</body>

</html>

Similar questions