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>Book Cover Design</title>
<style>
.wrapper {
background-color: rgb(0, 58, 71);
height:100vh;
display: flex;
justify-content: center;
align-items: center;
}
.bookpage{
width: 400px;
height: 600px;
color: black;
padding: 30px;
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
background-image:url( f3fba9557d0c97863451a6b92ac0f6da.jpg ) ;
background-size: cover;
}
.insight{
color: rgb(32, 99, 167);
}
.hrstyle{
width: 100px;
}
.author{
display: inline;
position: relative;
color: lightblue;
top: 270px;
font-family: Georgia;
font-size: medium;
padding-bottom: 20px;
}
.booktitle{
color: rgb(251, 50, 0);
font-family: 'Courier New', Courier, monospace, bold;
font-size: larger;
text-align: center;
position: relative;
top: 30px;
}
.id {
width: 400px;
position: relative;
top: 280px;
}
.pub{
color: rgb(20, 128, 128);
font-size: medium;
position: relative;
top: 235px;
left: 330px;
}
.ed{
color: rgb(28, 120, 120);
font-size: medium;
font-family: Verdana;
position: relative;
top: 190px;
}
.subtitle{
color:gold(24, 38, 78);
font-family: unicorn;
font-size: larger;
position: relative;
top: 15px;
}
.subtitle2{
color: rgb(188, 204, 255);
font-family: Arial, Helvetica, sans-serif;
font-size: small;
position: relative;
top: 250px;
}
.mypic{
position: relative;
top: 250px;
left: 300px;
width: 90px;
height: 80px;
background-size: contain;
}
</style>
</head>
<body>
<div class="wrapper">
<div class="bookpage">
<div class="insight">
<b>WEB DEVELOPEMENT</b>
</div>
<div class="hrstyle">
<hr style="color:blanchedalmond">
</div>
<div class="booktitle">
<h1><b>THE WEB ARCHITECTURE</b></h1></div>
<div class="subtitle">
<b> ALL ABOUT WEB</b>
<div class="subtitle2">
<b>>> Basic Web Page Design</b><br>
<b>>> Introduction to CSS</b><br>
<b>>> Introduction to JAVA</b><br>
</div>
</div>
<div class="mypic">
<img src=" hrem.png " width="100" height="100" >
</div>
<div class="id">
<hr style="color:rgb(208, 205, 255)">
</div>
<div class="author">
<p><b>HEMANTH KUMAR R(212223040065)</b></p>
</div>
<div class="pub">
SEC 27'
</div>
</div>
</div>
</body>
</html>
The program for designing book front cover page using HTML and CSS is completed successfully.