Recently I started a blog project. It is my first time that I create something so advance. I use task runners, SEO optimization, preprocessors, I will code in full stack environment and all the other stuffs that needs a project.
After many days, structuring my page through UX and UI, think about HTML5 tags usage and keep in mind the meaning of simplicity, I have end up with a simple design pattern. Before I continue, I wanted someone to review my html structure. (As a holiday season, all of my buddies are on vacation.)
Bellow is the html file structure with only the tags names. I removed some of the class and ids attributes and the links to external resources.
<!DOCTYPE html>
<html lang="en">
<head>
<!-- STYLESHEETS AND OTHER META -->
</head>
<body>
<div class="container">
<header>
<div class="nav-icon">
<a href="">
<span class="home-page-icon"></span>
</a>
</div>
<h1>BLOG NAME</h1>
<p>... FUNKY TEXT ...</p>
</header>
<div class="container-fluid">
<section id="post-content-description">
<article class="quote">
A DESCRIPTION OF TH EARTICLE
</article>
</section>
<section id="article-section">
<header class="article-title text-center">
<h1>ARTICLE'S TITLE</h1>
<h2>AUTHOR NAME </h2>
</header>
<article class="article-body">
THE MAIN ARTICLE'S CONTENT
</article>
<footer class="fav-button">
<span class="fav"></span>
</footer>
</section>
<section id="social-section">
<div class="comments">
<ol class="comment-list">
<li class="single-comment clearfix">
<div class="user">
userName
<span class="comment-fav"></span>
<span class="comment-fav-count">COMMENT'S FAV COUNTER</span></div>
<div class="comment">THE ACTUAL COMMENT BODY</div>
<div class="comment-date">posted date</div>
</li>
</ol>
</div>
<div class="comment-post-area">
<div class="comment-alert">
MESSAGE ALERT WHEN THE USER POST A COMMENT
</div>
<form class="comment-post-form">
<div class="user">
<input type="text" />
</div>
<div class="email">
<input type="text" />
</div>
<div class="comment-editor">
<textarea></textarea>
</div>
<div class="footer" id="submit-section">
<button type="submit">
<span class="submit-text"><span class="glyphicon glyphicon-send"></span>Post</span>
</button>
<span class="pull-right" id="comment-alert"></span>
</div>
</form>
</div>
</section>
</div>
<footer>
Copyright (c) Author's Name
</footer>
</div>
<!-- JAVASCRIPT -->
</body>
</html>
I want you to keep in mind that SEO is a high priority. I will use microdata further in my developing circle. Also both the main article section and the comment one, will be generated dynamically. (I haven't decided yet if I use PHP or Node.js).
I also post a sketch of what do I expect my blog structure to be.