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 type="text/css">
.bookcover {
width: 400px;
height: 640px;
color:rgb(16, 4, 4) (221, 39, 39);
margin-left: auto;
margin-right: auto;
padding: 20px;
font-family:Verdana, Geneva, Tahoma, sans-serif;
background-image: url(snapedit_1714965284351.jpg);
background-size: cover;
}
.insight {
color:black (221, 39, 39);
}
.hr1 {
width: 130px;
color:black (221, 39, 39);
}
.h1 {
font-size: larger;
font-family: Arial, Helvetica, sans-serif;
text-align: left;
position: relative;
top: 20px;
color:black (150, 39, 39);
}
.para {
font-size: medium;
font-family: Arial, Helvetica, sans-serif;
position: relative;
top: 40px;
color:black (221, 39, 39);
}
.edition {
font-size: large;
font-family: Arial, Helvetica, sans-serif;
color:black (221, 39, 39);
top: 90px;
position: relative;
}
.pic {
position: relative;
top: 150px;
left: 250px;
width: 100px;
height: 100px;
background-size: cover;
color:black (221, 39, 39);
}
.hr2 {
position: relative;
width: 400px;
top: 200px;
color:black (221, 39, 39);
}
.name {
font-size: medium;
font-family: Arial, Helvetica, sans-serif;
display: inline;
position: relative;
color:black (221, 39, 39);
top: 210px;
}
.pub {
font-size: large;
position: relative;
top: 180px;
left: 330px;
color:black (221, 39, 39);
}
</style>
<title> Book Front Cover Page </title>
</head>
<body>
<div class="bookcover">
<div class="insight">
EXPERT INSIGHT
</div>
<div class="hr1">
<hr>
</div>
<div class="h1">
<h1> Data Science <br> </h1>
</div>
<div class="para">
<p> A Complete Guide For
<b> Data Scientists</b> </p>
</div>
<div class="pic";">
<img src="pavi.jpg" width="150" height="150" >
</div>
<div class="hr2">
<hr>
</div>
<div class="name">
<p><b>Pavithra</b></p>
</div>
<div class="pub">
<b> SEC </b>
</div>
<div class="edition">
<b> First Edition </b>
</div>
</div>
</body>
</html>
The program for designing book front cover page using HTML and CSS is completed successfully.