નવા ટૅબમાં લિંક્સ ખોલો
    • Wix.com
      https://www.wix.com › website › builder
      અમારી જાહેરાતો વિશે

      Create Your Own Site with Wix - Wix - Create Your Website

      પ્રાયોજિતSeamlessly Create an Impressive Website Using Wix's Powerful and Advanced Website Builder. Create a Website for Your Business & Boost Traffic with Top SEO Tools. Start for Free Now!
  1. Below is a simple example of a blogging platform layout created using HTML for structure and CSS for styling. It includes a header, navigation bar, main content area for blog posts, a sidebar for recent posts, and a footer.

    <!DOCTYPE html>
    <html lang="en">
    <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Blogging Platform</title>
    <style>
    body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    }
    header {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
    }
    nav {
    background-color: #444;
    padding: 10px;
    }
    nav a {
    color: white;
    text-decoration: none;
    margin-right: 15px;
    }
    .container {
    display: flex;
    max-width: 1200px;
    margin: 20px auto;
    gap: 20px;
    }
    main {
    flex: 3;
    }
    article {
    background-color: #f9f9f9;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    }
    aside {
    flex: 1;
    background-color: #f1f1f1;
    padding: 15px;
    border-radius: 5px;
    }
    footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
    }
    </style>
    </head>
    <body>
    <header>
    <h1>My Blog</h1>
    <p>Sharing knowledge and ideas</p>
    </header>
    <nav>
    <a href="#">Home</a>
    <a href="#">About</a>
    <a href="#">Contact</a>
    </nav>
    <div class="container">
    <main>
    <article>
    <h2>Blog Post Title</h2>
    <p><strong>Published:</strong> January 1, 2024</p>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus lacinia odio vitae vestibulum vestibulum.</p>
    </article>
    <article>
    <h2>Another Blog Post</h2>
    <p><strong>Published:</strong> December 25, 2023</p>
    <p>Cras ultricies ligula sed magna dictum porta. Proin eget tortor risus.</p>
    </article>
    </main>
    <aside>
    <h3>Recent Posts</h3>
    <ul>
    <li><a href="#">Post One</a></li>
    <li><a href="#">Post Two</a></li>
    <li><a href="#">Post Three</a></li>
    </ul>
    </aside>
    </div>
    <footer>
    © 2024 My Blog. All rights reserved
    </footer>
    </body>
    </html>
    કૉપિ કર્યું!
    પ્રતિક્રિયા
  2. How To Create a Blog Layout - W3Schools

    7 ડિસે, 2017.Well organized and easy to understand Web building tutorials with lots of examples of how to use HTML, CSS, JavaScript, SQL, Python, PHP, Bootstrap, Java, XML and more.