To design a book front cover page using HTML and CSS.
Clone the GitHub repository.
Create a Django Admin interface.
Write the HTML code with relevant CSS properties.
Choose the appropriate style and color scheme.
Validate the HTML code.
Publish the website in the given URL.
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport"
content="width=device-width, initial-scale=1.0">
<style>
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background-color: #f0f0f0;
}
.bookpage {
width: 400px;
height: 600px;
color: rgb(0, 255, 60);
padding: 20px;
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
background-image: url(Slide2.PNG);
background-size: cover;
}
.insight{
color: rgb(0, 255, 60);
}
.hrstyle{
width:100px;
}
.author{
display: inline;
position: relative;
color: rgb(0, 255, 60);
top:190px;
font-family:Georgia;
font-size: medium;
}
.booktitle{
font-family: 'Courier New', Courier, monospace;
font-size: 19px;
text-align: center;
position: relative;
top: 30px;
}
.id {
width:400px;
position: relative;
top:180px;
}
.pub{
font-size: medium;
position: relative;
top:155px;
left:330px;
}
.ed{
color: rgb(0, 255, 60);
font-size: medium;
font-family: Verdana;
position:relative;
top:85px;
}
.subtitle{
font-family:Tahoma;
font-size: large;
position: relative;
top:40px;
}
.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">EXPERT INSIGHT</div>
<div class="hrstyle"><hr style="color: rgb(0, 255, 60);"></div>
<div class="booktitle"><h1>WHITE AND BLACK HAT HACKING BASICS TO PROFESSIONAL</h1></div>
<div class="subtitle">METHODOLOGY TO UNETHICAL HACKING</div>
<div class="mypic"><img src="my image.png" width="130" height="145" alt=""></div>
<div class="id"><hr style="color: rgb(0, 255, 60);"></div>
<div class="author"><p><b>BY SRIRAM</b></p></div>
<div class="pub">OPEN >>></div>
<div class="ed"><b>Special Edition</b></div>
</div>
</bodY>
</html>
The program for designing book front cover page using HTML and CSS is completed successfully.