Moving on, HTML standards are outlined here:
Nesting
Preference here is just to keep things organized and make sure to comment the closing tag of container elements (especially important when a page gets excessively long).
<div id="wrapper"> <!-- #container --> <section id="container" class="home layout-978 <?php echo implode( ' ', page_classes() ); ?>"> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <div class="col12 right" id="pediatric-home"> <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <div class="post-entry"> <?php the_content(__('Read more ›', 'elegant')); ?> </div><!-- end of .post-entry --> </div><!-- end of #post-<?php the_ID(); ?> --> </div> <?php endwhile; endif; ?> </section><!-- end of #container --> </div><!-- end of #wrapper -->