HomePage with HTML and CSS

Create Following Web Page using HTML and CSS:

<html>
            <head>
                        <style>
                                    html{
                                                background-image: url(“back1.jpg”);
                                                background-repeat: no-repeat;
                                                background-size: cover;
                                    }
 
                                    body{
                                                width: 70%;
                                                margin: 0 auto;
                                                border: 2px solid yellow;
                                                border-radius: 10px;
                                                margin-top: 50px;
                                    }
 
                                    .menu {
                                                background-color: yellow;
                                                overflow: hidden;
                                                display: flex;
                                                justify-content: space-between;
                                                padding: 10px;
                                                color: blue;
                                    }
 
                                    .menu a {
                                                color: black;
                                                text-decoration: none;
                                                margin: 0 10px;
                                                font-size: 18px;
                                                font-weight: bold;
                                                text-transform: uppercase;
                                                letter-spacing: 1px;
                                    }
 
                                    .button-container {
                                                text-align: center;
                                    }
 
                                    .button-container button {
                                                background-color: yellow;
                                                color: black;
                                                border: none;
                                                border-radius: 4px;
                                                padding: 10px 20px;
                                                font-size: 16px;
                                                cursor: pointer;
                                                margin-top: 10px;
                                                margin-bottom: 10px;
                                    }
 
                                    .container {
                                                display: flex;
                                                justify-content: space-between;
                                    }
 
                                    .container div {
                                                flex: 1;
                                                height: auto;
                                                border: 1px solid yellow;
                                                margin-bottom: 10px;
                                    }
 
                                    .container h3 {
                                                color : yellow;
                                    }
 
                                    .container p{
                                                color : white;
                                    }
 
                                    .form-container {
                                                width: 100%;
                                    }
                        </style>
            </head>
            <body>
                        <div class=”menu”>
                                    <a href=”#”>Home</a>
                                    <a href=”#”>Courses</a>
                                    <a href=”#”>Careers</a>
                                    <a href=”#”>Tutorials</a>
                        </div>
 
                        <div style=”position:relative;”>
                                    <img src=”back2.jpg” style=”width:100%; height=80%;”>
                                    <div style=”position:absolute; top:0; left:0; padding:20px; color:#fff;”>
                                                <h1>Join Us To Code Easily</h1>
                                    </div>
                        </div>
 
                        <div class=”button-container”>
                                    <button>Register</button>
                                    <button>Quick Call</button>
                        </div>
 
                        <div class=”container”>
                                    <div>
                                                <h3> HTML : </h3>
                                                <p> HTML is used to create web pages using pre-defined programs called HTML elements </p>
                                    </div>
                                    <div>
                                                <h3> CSS : </h3>
                                                <p> CSS is used to apply styles to web pages such as text colors, backgroung colors, borders, alignment </p>
                                    </div>
                                    <div>
                                                <h3> JavaScript : </h3>
                                                <p> JavaScript allow us to apply functionality to HTML pages as well as it is used to perform client side validations before data submitting to server page </p>
                                    </div>
                        </div>
            </body>
</html>

Download the Images if you want:

Scroll to Top