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.
<html>
<head>
<meta name="viewport"
content="width=device-width, initial-scale=1.0">
<style>
.bookpage{
width: 400px;
height: 600px;
color: white;
margin-left: auto;
margin-right: auto;
padding: 50px;
font-family: cursive;
background-image: url("hi.jpg");
background-size: cover;
}
.insight{
color: white;
}
.hrstyle{
width: 110px;
}
.author{
display: inline;
position: relative;
color:white;
top: 290px;
font-family: Georgia;
font-size: medium;
}
.booktitle{
font-family: 'Times New Roman', Times, serif;
font-size: medium;
text-align: center;
position: relative;
top: 30px;
}
.id{
width: 400px;
position: relative;
top: 291px;
}
.pub{
font-size: medium;
position: relative;
top: 300px;
left: 330px;
}
.ed{
color: white;
font-size: medium;
font-family: Verdana;
position: relative;
top: 198px;
}
.subtitle{
font-family: 'Tahoma';
font-size: large;
position: relative;
text-align: center;
top: 40px;
}
.mypic{
position: relative;
top: 250px;
left: 260px;
width: 100px;
height: 100px;
background-size: cover;
}
</style>
<title>Book Cover Page</title>
</head>
<body>
<div class="bookpage">
<div class="insight">
<mark>SEC INSIGHT</mark>
</div>
<div class="hrstyle">
<hr style="color: rgb(0, 255, 72);">
</div>
<div class="booktitle">
<h1><mark >FIGHTS OF KINGDOM</mark></h1>
</div>
<div class="subtitle">
<mark>with Django and Bootstrap Insights</mark>
</div>
<div class="mypic">
<img src="pic.png" width="130" height="140" alt="">
</div>
<div class="id">
<hr style="color:white;">
</div>
<div class="author">
<p><b><mark>SREEKUMAR S</mark></b></p>
</div>
<div class="pub">
SEC
</div>
<div class="ed">
<b><mark>Extended Edition</mark></b>
</div>
</div>
</body>
</html>
The program for designing book front cover page using HTML and CSS is completed successfully.