Basic and minimal WordPress loop.
<?php if ( have_posts() ) : ?>
<?php while ( have_posts() ) : the_post(); ?>
<div class="item">
<h2><?php the_title();?></h2>
<div class="content">
<?php the_content();?>
</div>
</div>
<?php endwhile; ?>
<?php endif; ?>