To design a book front cover page using HTML and CSS.
Create a Django Admin project.
Create an app in the Django interface.
Create a folder named 'static' in the app folder.
Create a new HTML file in the static folder.
Write the HTML code with relevant CSS properties.
Choose the appropriate style and color scheme.
Insert the images in their appropriate places.
Publish the website in the LocalHost.
<!DOCTYPE html>
<html>
<head>
<title>
Front cover page
</title>
<style>
.bookpage{
height:700px;
width:500px;
margin-left:35%;
background-image:url("cover page.jpg");
padding:10px;
background-size: cover;
}
.hr1{
width:200px
}
.booktitle{
margin-top: 30px;
color:white;
padding:5px;
font-size: xx-large;
}
.subtitle{
color:white;
font-size: large;
}
.mypic{
position: relative;
top:90px;
left:390px;
height: 80px;
width: 90px;
}
.hr2{
padding-top: 130px;
}
*{
color: white;
}
.ed{
position:relative;
top: 110px;
}
.author{
font-family: 'Trebuchet MS';
font-size: large;
}
.pb{
position: relative;
left:420px;
top:-40px;
font-size: x-large;
}
</style>
<body>
<div class="bookpage">
<div style="color:white">INSIGHT </div>
<div class="hr1"><hr ></div>
<div class="booktitle"><h1>APPLIED ARTIFICIAL INTELLIGENCE</h1></div>
<div class="subtitle">A Hand Book For Business Leaders</div>
<div class="mypic"><img src="photo.jpeg" height="120px" ></div>
<div class="ed">SPECIAL EDITION</div>
<div class="hr2"><hr ></div>
<div class="author"> SANDHIYA</div>
<div class="pb"> <h2>SEC</h2></div>
</div>
</body>
</head>
</html>
The program for designing book front cover page using HTML and CSS is completed successfully.