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:maroon;
margin-left: auto;
margin-right: auto;
padding:20px;
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
background-image: url('./static/nisha.png');
background-size: cover;
}
.insight{
color: maroon;
}
.hrstyle{
width: 100px;
}
.author{
color: white;
display: inline;
position: relative;
color: red;
top: 190px;
font-family: Georgia, 'Times New Roman', Times, serif;
font-size: medium;
}
.booktitle{
margin-top: 30px;
color:red;
padding:5px;
font-size: xx-large
}
.id{
width: 400px;
position: relative;
top: 180px;
}
.pub{
font-size: big;
position: relative;
top: 180px;
left: 330px;
}
.ed{
color: goldenrod;
font-size: medium;
font-family: Verdana, Geneva, Tahoma, sans-serif;
position: relative;
top: 85px;
}
.subtile{
font-family: Tahoma;
font-size: large;
position: relative;
top: 10px;
}
.mypic{
position: relative;
top: 135px;
left: 260px;
width: 100px;
height: 100px;
background-size: cover;
}
</style>
<title>Book Cover Page</title>
</head>
<body>
<div class="bookpage">
<div class="insight">
SEC INSIGHT
</div>
<div class="hrstyle">
<hr style="color: red;">
</div>
<div class="booktitle">
<h1>ARTIFICIAL INTELLIGENCE ENGINES</h1>
</div>
<div class="subtitle">
A Tutorial Introduction to the Mathematics of Deep Learning...
</div>
<div class="mypic">
<img src="/static/AI.png" width="130" height="145" alt="">
</div>
<div class="id">
<hr style="color: orange;">
</div>
<div class="author">
<p><b>NishaDayalan</p></b>
</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.