📰 Blog Layout = Semantic HTML
Blogs need structure. Semantic HTML creates accessible, SEO-friendly blog layouts.
📝 Blog Layout Structure
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>My Blog</title>
</head>
<body>
<header role="banner">
<h1>My Blog</h1>
<nav role="navigation" aria-label="Main Navigation">
<ul>
<li><a href="/">Home</a></li>
<li><a href="/blog">Blog</a></li>
<li><a href="/about">About</a></li>
<li><a href="/contact">Contact</a></li>
</ul>
</nav>
</header>
<main role="main">
<article>
<header>
<h2>Blog Post Title</h2>
<time datetime="2024-01-15">January 15, 2024</time>
<address>By <a href="/author">John Doe</a></address>
</header>
<section>
<h3>Introduction</h3>
<p>Lorem ipsum...</p>
</section>
<section>
<h3>Main Content</h3>
<figure>
<img src="image.jpg" alt="Description">
<figcaption>Image caption</figcaption>
</figure>
<p>Content...</p>
</section>
<footer>
<p>Category: <a href="/category">Category</a></p>
<p>Tags: <a href="/tag">Tag1</a>, <a href="/tag">Tag2</a></p>
</footer>
</article>
<aside role="complementary">
<h2>Related Posts</h2>
<ul>
<li><a href="/post-1">Post 1</a></li>
<li><a href="/post-2">Post 2</a></li>
</ul>
</aside>
</main>
<footer role="contentinfo">
<p>© 2024 My Blog</p>
<nav role="navigation" aria-label="Footer Navigation">
<ul>
<li><a href="/privacy">Privacy</a></li>
<li><a href="/terms">Terms</a></li>
</ul>
</nav>
</footer>
</body>
🎯 SEO Optimization
<!-- SEO Best Practices -->
<article>
<header>
<h1>Article Title (SEO) </h1>
<time datetime="2024-01-15">Published Jan 15, 2024</time>
<meta property="article:published_time" content="2024-01-15T10:00:00Z">
<meta property="article:author" content="John Doe">
</header>
<section>
<!-- Use headings properly -->
<h2>Section Heading</h2>
<h3>Subsection Heading</h3>
<!-- Use strong/em for emphasis -->
<p>This is <strong>important</strong> content.</p>
<!-- Use lists -->
<ul>
<li>Item 1</li>
<li>Item 2</li>
</ul>
</section>
<!-- Related content -->
<aside role="complementary" aria-labelledby="related-title">
<h2 id="related-title">Related Posts</h2>
</aside>
</article>
<!-- Comments Section -->
<section aria-labelledby="comments-title">
<h2 id="comments-title">Comments</h2>
<article class="comment">
<header>
<span>Commenter Name</span>
<time datetime="2024-01-15T11:00:00Z">Posted 1 hour ago</time>
</header>
<p>Comment text...</p>
</article>
</section>
💡 Blog Layout Tips
- Use proper heading hierarchy
- Use semantic elements for structure
- Add structured data
- Optimize images with alt text
- Use ARIA labels for navigation
Semantic HTML is the foundation of accessible, SEO-friendly blogs. It ensures your content reaches the right audience.




