HTMLify

webpage2.html
Views: 174 | Author: demo
<!DOCTYPE html>
<html>
<head>
    <title>My Unique Demo Page</title>
    <style>
        body {
            font-family: "Courier New", monospace;
            background-color: #f9f9f9;
            margin: 0;
            padding: 0;
        }
        header {
            background-color: #ff5722;
            color: #fff;
            padding: 20px;
            text-align: center;
        }
        .container {
            max-width: 800px;
            margin: 20px auto;
            padding: 20px;
            background-color: #fff;
            border: 1px solid #ddd;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
            border-radius: 10px;
        }
        h1 {
            color: #ff5722;
            font-size: 36px;
        }
        p {
            font-size: 20px;
            line-height: 1.5;
        }
        button {
            background-color: #ff5722;
            color: #fff;
            padding: 12px 24px;
            border: none;
            border-radius: 5px;
            font-size: 18px;
            cursor: pointer;
            transition: background-color 0.3s ease-in-out;
        }
        button:hover {
            background-color: #e64a19;
        }
    </style>
</head>
<body>
    <header>
        <h1>Welcome to My Unique Demo Page</h1>
    </header>
    <div class="container">
        <h2>Experience a Different Look</h2>
        <p>Just another sample page with diffrent style!!</p>
        <button onclick="showAlert()">Click Me to trigger a JavaScript Function!!</button>
    </div>
    <script>
        function showAlert() {
            alert('Hello!! This is a JavaScript alert.');
        }
    </script>
</body>
</html>

Comments