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 lang="en">
<head>
<meta name="viewport"
content="width=device-width,initial-scale=1.0">
<style>
.bookpage{
width: 400px;
height: 600px;
color:rgb(232, 193, 193);
margin-left: auto;
margin-right: auto;
padding:20px;
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
background-image: url('Book.jpg');
background-size: cover;
}
.insight{
color:rgb(146, 109, 109) ;
}
.hrstyle{
width: 100px;
}
.author{
color: rgb(76, 137, 29);
display: inline;
position: relative;
color: rgb(32, 174, 176);
top: 130px;
left: 80px;
font-family: Georgia, 'Times New Roman', Times, serif;
font-size: medium;
}
.booktitle{
font-family: 'Courier New', Courier, monospace;
font-size: larger;
text-align: center;
position: relative;
top: 60px;
}
.id{
width: 410px;
position: relative;
top: 200px;
}
.pub{
font-size: large;
position: relative;
top: 100px;
left: 200px;
}
.ed{
color: rgb(133, 34, 118);
font-size: medium;
font-family: Verdana, Geneva, Tahoma, sans-serif;
position: relative;
top:50px;
left: 50px;
}
.subtitle{
font-family: Tahoma;
font-size: large;
position: relative;
margin-left: 100px;
top: 50px;
}
.mypic{
position: relative;
top: 170px;
left: 200px;
width: 100px;
height: 100px;
background-size: cover;
}
</style>
<title>Book Cover Page</title>
</head>
<body>
<div class="bookpage">
<div class="EXPERT INSIGHT">
</div>
<div class="hrstyle">
<hr style="color: rgba(160, 124, 124, 0.842);">
</div>
<div class="booktitle">
<h1>BASICS OF WEB DEVELOPMENT</h1>
</div>
<div class="subtitle">
Basic Guide For Beginners
</div>
<div class="mypic">
<img src="Myphoto.jpeg" width="120" height="120" alt="Error">
</div>
<div class="id">
<hr style="color:rgb(184, 147, 147);">
</div>
<div class="author">
<p><b>ARHAM S</b></p>
</div>
<div class="pub">
SEC
</div>
<div class="ed">
<b>Extended Edition</b>
</div>
</div>
</body>
</html>
The program for designing book front cover page using HTML and CSS is completed successfully.