HTML Template Blogger


Flat AI



Flat AI
Navigation
Home
AI Chat
AI Image
AI Characters
AI RPG Games
More AI Tools
AI Video Studio NEW
Pricing
Company & Support
Blog
About Us
Privacy Policy
Terms of Service
Responsible Use
Contact Us
Connect
© 2025 Flat AI Inc. All rights reserved.

AI Chat Assistant
Engage in intelligent conversations, get assistance, generate content, and explore ideas with our versatile AI Chat.

Advanced AI Models
Multilingual Support
Conversation History
Customizable Personalities


Avatar+


Welcome! What do you want to talk about today?



Copy
a blogger html and css template that just need to insert body, with proper separation and space

That's a great idea! A clean, well-structured template that handles the layout and styling, so you can focus on writing your blog posts. Here's a minimalist but fully functional template with proper separation, spacing, and responsiveness.

You can copy and paste this code, then just replace the content inside the <article> tags.

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>My Blog</title>
    <link rel="stylesheet" href="style.css">
    <!-- Link to your favicon here -->
    <!-- <link rel="icon" type="image/x-icon" href="/favicon.ico"> -->
</head>
<body>
    <!-- Header & Navigation -->
    <header class="site-header">
        <div class="container">
            <a href="#" class="blog-title">The Thoughtful Blogger</a>
            <nav class="main-nav">
                <ul>
                    <li><a href="#">Home</a></li>
                    <li><a href="#">Archives</a></li>
                    <li><a href="#">About</a></li>
                    <li><a href="#">Contact</a></li>
                </ul>
            </nav>
        </div>
    </header>

    <!-- Main Content Area -->
    <main class="container main-content">
        <!-- YOUR BLOG POSTS GO HERE -->
        <!-- Copy this entire <article> block for each new post -->
        <article class="blog-post">
            <header class="post-header">
                <h1 class="post-title">Your Amazing Blog Post Title</h1>
                <div class="post-meta">
                    <time datetime="2023-10-27">October 27, 2023</time> • <span class="category">Category: <a href="#">Web Design</a></span>
                </div>
            </header>
            <div class="post-content">
                <!-- INSERT YOUR POST'S BODY/HTML CONTENT RIGHT HERE -->
                <p>This is where <strong>your content</strong> goes. Just replace everything inside this <code>.post-content</code> div with your own HTML.</p>
                <p>You can write paragraphs, add <a href="#">links</a>, create lists, and insert images. The template's CSS will handle the spacing, typography, and layout for you.</p>
                <h2>A Subheading Example</h2>
                <p>More of your insightful text here. The template uses a clean, readable font and consistent vertical rhythm (using <code>margin-bottom</code> and <code>line-height</code>) to make long-form content pleasant to read.</p>
                <blockquote>
                    This is an example of a blockquote. It will be styled distinctly to highlight quoted text or important points.
                </blockquote>
                <p>Enjoy focusing on your writing!</p>
                <!-- END OF YOUR CONTENT -->
            </div>
            <footer class="post-footer">
                <div class="tags">
                    <strong>Tags:</strong>
                    <a href="#" class="tag">HTML</a>
                    <a href="#" class="tag">CSS</a>
                    <a href="#" class="tag">Template</a>
                </div>
            </footer>
        </article>
        <!-- END of a single blog post block -->

        <!-- You can add more <article> blocks below for older posts -->

    </main>

    <!-- Sidebar (Optional) -->
    <aside class="sidebar">
        <div class="container">
            <section class="widget">
                <h3 class="widget-title">About Me</h3>
                <p>A short bio or description goes here. This sidebar is optional. You can remove the entire <code>&lt;aside&gt;</code> section if you don't want it.</p>
            </section>
            <section class="widget">
                <h3 class="widget-title">Recent Posts</h3>
                <ul>
                    <li><a href="#">Post Title One</a></li>
                    <li><a href="#">Post Title Two</a></li>
                    <li><a href="#">Post Title Three</a></li>
                </ul>
            </section>
        </div>
    </aside>

    <!-- Footer -->
    <footer class="site-footer">
        <div class="container">
            <p>&copy; <span id="currentYear"></span> Your Blog Name. All rights reserved.</p>
            <p class="footer-links">
                <a href="#">Privacy Policy</a> • <a href="#">Terms of Use</a>
            </p>
        </div>
    </footer>

    <!-- Simple JS for current year -->
    <script>
        document.getElementById('currentYear').textContent = new Date().getFullYear();
    </script>
</body>
</html>
/* style.css */
/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #333;
    --secondary-color: #777;
    --accent-color: #0056b3;
    --light-bg: #f9f9f9;
    --border-color: #eee;
    --spacing-unit: 1.5rem;
    --max-width: 1200px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--primary-color);
    background-color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

/* Header */
.site-header {
    background-color: var(--light-bg);
    border-bottom: 1px solid var(--border-color);
    padding: var(--spacing-unit) 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.blog-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: calc(var(--spacing-unit) * 1.5);
}

.main-nav a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
}

.main-nav a:hover {
    color: var(--accent-color);
}

/* Main Layout */
.main-content {
    flex: 1;
    padding: calc(var(--spacing-unit) * 2) 0;
    width: 70%;
    float: left;
}

.sidebar {
    width: 28%;
    float: right;
    padding: calc(var(--spacing-unit) * 2) 0;
}

/* Clearfix for floats */
.main-content::after,
.sidebar::after {
    content: "";
    display: table;
    clear: both;
}

/* Blog Post Styling */
.blog-post {
    margin-bottom: calc(var(--spacing-unit) * 3);
    padding-bottom: calc(var(--spacing-unit) * 2);
    border-bottom: 1px solid var(--border-color);
}

.post-header {
    margin-bottom: var(--spacing-unit);
}

.post-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.post-meta {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-unit);
}

.post-meta a {
    color: var(--accent-color);
    text-decoration: none;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Spacing for content elements */
.post-content > * {
    margin-bottom: var(--spacing-unit);
}

.post-content h2 {
    font-size: 1.8rem;
    margin-top: calc(var(--spacing-unit) * 1.5);
    color: var(--primary-color);
}

.post-content blockquote {
    border-left: 4px solid var(--accent-color);
    padding-left: var(--spacing-unit);
    font-style: italic;
    color: var(--secondary-color);
}

.post-footer {
    margin-top: calc(var(--spacing-unit) * 1.5);
    padding-top: var(--spacing-unit);
    border-top: 1px dashed var(--border-color);
}

.tags {
    font-size: 0.9rem;
}

.tag {
    display: inline-block;
    background-color: var(--light-bg);
    color: var(--secondary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 3px;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    text-decoration: none;
}

.tag:hover {
    background-color: #eaeaea;
}

/* Sidebar Widgets */
.widget {
    margin-bottom: calc(var(--spacing-unit) * 2);
    padding: var(--spacing-unit);
    background-color: var(--light-bg);
    border-radius: 5px;
}

.widget-title {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

.widget ul {
    list-style: none;
}

.widget li {
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px dotted var(--border-color);
}

.widget a {
    text-decoration: none;
    color: var(--secondary-color);
}

.widget a:hover {
    color: var(--accent-color);
}

/* Footer */
.site-footer {
    background-color: var(--primary-color);
    color: #ccc;
    text-align: center;
    padding: var(--spacing-unit) 0;
    clear: both;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    margin: 0 0.5rem;
}

.footer-links a:hover {
    color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-content,
    .sidebar {
        width: 100%;
        float: none;
    }

    .site-header .container {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-unit);
    }

    .main-nav ul {
        flex-wrap: wrap;
        gap: var(--spacing-unit);
    }

    .post-title {
        font-size: 2rem;
    }
}
How to Use This Template:

Create two files: index.html and style.css.
Paste the HTML code into index.html.
Paste the CSS code into style.css.
For each new blog post, copy the entire <article class="blog-post"> ... </article> block and paste it inside the <main> tag.
Replace the placeholder content inside the <div class="post-content"> with your own article's HTML.
Customize the titles, colors (in the :root section of the CSS), and sidebar content to fit your blog's theme.
The template provides:

A clean, responsive layout.
Proper vertical rhythm (spacing) for readability.
Styling for headings, paragraphs, blockquotes, and links.
A separate area for post meta info (date, category, tags).
An optional sidebar and a full site footer.
Mobile-friendly design.
Happy blogging! Let me know if you'd like help customizing it further.



Copy
Chat with AI...
0/10000


Send
Discover the Power of AI Chat
Unlock creativity, productivity, and knowledge with our intelligent chat features.

Idea Generation
Brainstorm ideas, explore topics, and get creative inspiration for your projects, writing, or daily tasks.

Content Creation
Generate text for emails, articles, social media posts, code snippets, and much more, tailored to your needs.

Learning & Explanation
Ask questions, understand complex subjects, get summaries, and learn new things across various domains.

Customizable Avatars
Choose from predefined personalities or generate your own unique AI avatar for a personalized chat experience.

Think+ Mode
Engage an advanced reasoning model for complex tasks like coding assistance, mathematical problem-solving, and in-depth analysis.

Organized History
Save, revisit, and organize your conversations effortlessly with chat history and folder management.

Explore More AI Tools
Enhance your creative workflow with our suite of powerful AI image editing tools.

Image Enhancer & Upscaler
Improve resolution and clarity. Upscale images intelligently while preserving details for sharper results.

Enhance Image
AI Face Restoration
Restore clarity and detail to old or blurry faces in photographs using specialized AI algorithms.

Restore Faces
AI Image Generator
Create unique images from text descriptions using advanced generative AI models.

Generate Images
Frequently Asked Questions
Find answers to common questions about our AI Chat Assistant.


Chat History


Folders

Comments

Popular posts from this blog

Free Alternatives to Squibler.io

27 GameDev Powerful Prompts