Figure

Figure item__figure

A whale with its tail in the air after jumping and diving back into the ocean.
Whale watching off shore in Cape Cod, MA in 2008.

HTML source

<figure class="image">
  <img src="/drupal/img/whale-tail.jpg" alt="A whale with its tail in the air after jumping and diving back into the ocean.">
  <figcaption>Whale watching off shore in Cape Cod, MA in 2008.</figcaption>
</figure>

PHP source

<?php foreach ($items as $item): ?>
<figure<?php print $attributes; ?>>
  <?php print render($item); ?>
  <figcaption><?php print render($item['title']); ?></figcaption>
</figure>
<?php endforeach; ?>