title: Loop through array in ThymeLeaf
body: <p>I am new to ThymeLeaf and I was wondering if there was a way to loop around a <code>&lt;p&gt;</code> html tag as well as iterate through an array within that <code>&lt;p&gt;</code> tag. I want the elements within <code>smokeTest</code> to end up in different paragraphs.</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;!DOCTYPE HTML&gt;
  &lt;html xmlns:th="http://www.thymeleaf.org"&gt;
  &lt;head&gt;
      &lt;title&gt;Getting Started: Serving Web Content&lt;/title&gt;
      &lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;p th:text="${smokeTests[0].name}"/&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Thanks for your help</p>