Git Product home page Git Product logo

cover's Introduction

Ex.06 Book Front Cover Page Design

Date:15.4.2024

AIM:

To design a book front cover page using HTML and CSS.

DESIGN STEPS:

Step 1:

Create a Django Admin project.

Step 2:

Create an app in the Django interface.

Step 3:

Create a folder named 'static' in the app folder.

Step 4:

Create a new HTML file in the static folder.

Step 5:

Write the HTML code with relevant CSS properties.

Step 6:

Choose the appropriate style and color scheme.

Step 7:

Insert the images in their appropriate places.

Step 8:

Publish the website in the LocalHost.

PROGRAM:

<html>
    <head>
        <title>Book Cover</title>
    <style>
        body{
            margin: 0;
            padding: 0;
            background-color: white;
        }
        .book-cov{
            width: 500px;
            height: 700px;
            background-color:white;
            box-shadow: 0 0 10px rgba(0,0,0,0.7);
            margin: 50px auto;
            position: relative;
        }
        .book-cov .insight{
            position: absolute;
            top: 19px;
            font-size: 45px;
            left: 2px;
            font-weight: bold;
            font-style: italic;
        }
        .book-cov .title1{
            position:absolute;
            top: 175px;
            font-size: 33px;
            left: 5px;
            font-style: normal;
        }
        .book-cov .sub1{
            position:absolute;
            bottom: 100px;
            left: 72px;
            font-size: 20px;
            font-weight: bold;
            font-style: normal;
        }
        .book-cov .sub2{
            position:absolute;
            bottom: 128px;
            left: 69px;
            font-size: 18px;
            font-style: normal;
        }

        .book-cov .rno{
            position:absolute;
            top: 306px;
            font-size: 26px;
            font-style: italic;
            font-weight:bold;
            left: 170px;
        }
        .book-cov .edition{
            position:absolute;
            bottom: 8px;
            left: 6px;
            font-weight: bolder;
            font-size: 22px;
            font-style: normal;
        }
        .book-cov .author{
            position:absolute;
            top: 255px;
            font-size: 26px;
            font-style: italic;
            font-weight:bold;
            left: 170px;

        }
        .book-cov .image{
            width: 100%;
            height: 100%;
            object-fit: cover;
            position: absolute;
        }
        .book-cov .mypic{
            position: relative;
            top:499px;
            left: 320px;
            width : 160px;
            height: 185px;
            background-size:fit;
        }
    </style>
    </head>
    <body>
        <div class="book-cov">
            <img src="img.jpg" alt="imgcov" class="image">
            <div class="insight">Web development</div>
            <div class="title1">BEGINNERS GUIDE TO WEB DESIGN</div>
            <div class="sub1">HTML,CSS,JAVASCRIPT</div>
            <div class="sub2">EXPLORE</div>
            <img src="mypic.png" alt="me" class="mypic">
            <div class="rno">212223110062</div>
            <div class="edition">2nd Edition</div>
            <div class="author">-Vignesh v</div>
        </div>
    </body>
    
</html>

OUTPUT:

alt text

RESULT:

The program for designing book front cover page using HTML and CSS is completed successfully.

cover's People

Contributors

selvasachein avatar vigneshv-23 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.