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>
<title>CSE</title>
<style>
.bookpage{
width: 400px;
height: 600px;
color:pink;
margin-left: auto;
margin-right: auto;
padding: 20px;
font-family: ' Arial, sans-serif';
background-image: url(book\ cover.jpeg);
background-size: cover;
}
.insight{
color:pink;
}
.hrstyle{
width:100px;
}
.author{
display: inline;
position: relative;
color:rgb(255, 255, 255);
top:190px;
font-family:Georgia;
font-size: medium;
}
.booktitle{
color:gray;
font-family: Roquen;
font-size: larger;
text-align: center;
position: relative;
top: 30px;
}
.id {
width:400px;
position: relative;
top:180px;
}
.pub{
color:gray;
font-size: medium;
position: relative;
top:155px;
left:330px;
}
.ed{
color:gray;
font-size: medium;
font-family: Verdana;
position:relative;
top:85px;
}
.subtitle{
color:gray;
font-family:unicorn;
font-size: large;
position: relative;
top:40px;
}
.mypic{
position: relative;
top: 135px;
left: 260px;
width: 90px;
height: 80px;
background-size:contain;
}
</style>
<title>Book Cover Page</title>
</head>
<body>
<div class="bookpage">
<div class="insight">
</div>
<div class="hrstyle">
<hr style="color:blanchedalmond">
</div>
<div class="booktitle">
<h1>Mastering Web Development</h1></div>
<div class="subtitle">
From Basics to Advance techniques
</div>
<div class="subtitle">
Guide to building Dynamic and Responsive Websites
</div>
<div class="mypic">
<img src="my pic.jpg" width="120" height="100" >
</div>
<div class="id">
<hr style="color:blanchedalmond">
</div>
<div class="author">
<p><b>NARMADHA S(212223220065)</b></p>
</div>
<div class="pub">
SEC
</div>
<div class="ed">
<b>New Version </b>
</div>
</div>
</body>
</html>
The program for designing book front cover page using HTML and CSS is completed successfully.