Answers for "html welcome page example"

0

welcome page html code

<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <title>
    </title>
    </head>
    <body>
        <div class="page">
        <div class="content">
            <h1>Welcome To (Wensite Name)</h1>
            <p>Allow Cookies</p>
            <div class="cookies">
            <a href="page2.html"><button onclick="alert('Cookies Enabled')" class="btn">Yes</button></a>
            <a href="page2.html"><button onclick="alert('Cookies Disabled')" class="btn">No</button></a>
            </div>
        </div>
        </div>
        
        <style>
            
            body{
                background-color: black;
                text-align: center;
            }
            
            .page{
                background-color: blue;
                border: 5px solid white;
                color: lime;
            }
            
            .cookies{
                background-color: black;
                border-width: 1px;
                border-
            }
            
            .btn{
                border-color: none;
                border-radius: 30%;
            }
            
        </style>
        
    </body>
</html>
Posted by: Guest on August-06-2021

Browse Popular Code Answers by Language