Skip to content
The Chat Archive
gpt-4.1-2025-04-14· OpenAI LMArena Human Preference 140K

Create beautifull web page

  1. User

    Create beautifull web page

  2. Assistant

    Absolutely! Here’s a simple, beautiful web page using modern HTML and CSS. This example features a clean layout, a hero section, and a responsive design. You can copy and paste this into an .html file and open it in your browser.


    <!DOCTYPE html>
    <html lang="en">
    <head>
      <meta charset="UTF-8">
      <meta name="viewport" content="width=device-width, initial-scale=1">
      <title>Beautiful Web Page</title>
      <link href="https://fonts.googleapis.com/css?family=Montserrat:700,400&display=swap" rel="stylesheet">
      <style>
        :root {
          --primary: #6C63FF;
          --secondary: #F8F8FF;
          --accent: #FF6584;
          --text: #22223B;
          --bg: #fff;
        }
        * {
          box-sizing: border-box;
          margin: 0;
          padding: 0;
        }
        body {
          font-family: 'Montserrat', sans-serif;
          background: var(--secondary);
          color: var(--text);
          min-height: 100vh;
        }
        header {
          background: var(--primary);
          color: #fff;
          padding: 2rem 0;
          text-align: center;
          box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        }
        header h1 {
          font-size: 2.5rem;
          margin-bottom: 0.5rem;
          letter-spacing: 2px;
        }
        header p {
          font-size: 1.2rem;
          opacity: 0.9;
        }
        .container {
          max-width: 900px;
          margin: 2rem auto;
          background: var(--bg);
          border-radius: 18px;
          box-shadow: 0 4px 24px rgba(108,99,255,0.08);
          padding: 2.5rem 2rem;
        }
        .hero {
          display: flex;
          flex-direction: column;
          align-items: center;
          gap: 2rem;
          text-align: center;
        }
        .hero img {
          width: 220px;
          border-radius: 16px;
          box-shadow: 0 2px 16px rgba(255,101,132,0.08);
        }
        .hero h2 {
          font-size: 2rem;
          color: var(--primary);
          margin-bottom: 0.5rem;
        }
        .hero p {
          font-size: 1.1rem;
          color: #444;
          margin-bottom: 1.5rem;
        }
        .hero a {
          display: inline-block;
          background: var(--accent);
          color: #fff;
          padding: 0.8rem 2rem;
          border-radius: 30px;
          text-decoration: none;
          font-weight: bold;
          letter-spacing: 1px;
          transition: background 0.2s;
        }
        .hero a:hover {
          background: #ff3366;
        }
        footer {
          text-align: center;
          padding: 1.5rem 0;
          color: #aaa;
          font-size: 1rem;
          margin-top: 2rem;
        }
        @media (max-width: 600px) {
          .container {
            padding: 1.2rem 0.5rem;
          }
          .hero img {
            width: 120px;
          }
          header h1 {
            font-size: 1.5rem;
          }
          .hero h2 {
            font-size: 1.2rem;
          }
        }
      </style>
    </head>
    <body>
      <header>
        <h1>Welcome to Your Beautiful Web Page</h1>
        <p>Modern, clean, and responsive design for your next project.</p>
      </header>
      <div class="container">
        <section class="hero">
          <img src="https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=400&q=80" alt="Beautiful Nature">
          <h2>Stunning Simplicity</h2>
          <p>
            This page is crafted with love and modern web standards. Easily customize it for your portfolio, landing page, or personal site.
          </p>
          <a href="#">Get Started</a>
        </section>
      </div>
      <footer>
        &copy; 2025 Beautiful Web Page. Crafted with ❤️ by ChatGPT.
      </footer>
    </body>
    </html>
    

    How to use:

    1. Copy the code above.
    2. Paste it into a new file and save as index.html.
    3. Open it in your browser.

    Let me know if you want a different style, more sections, or want to add interactivity!

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.