ass to the <code>&lt;h1&gt;</code>:</p>
<pre><code class="lang-javascript">m(&quot;h1&quot;, {class: &quot;title&quot;}, &quot;My first app&quot;)
</code></pre>
<p>If you want to have multiple elements:</p>
<pre><code class="lang-javascript">[
    m(&quot;h1&quot;, {class: &quot;title&quot;}, &quot;My first app&quot;),
    m(&quot;button&quot;, &quot;A button&quot;),
]
</code></pre>
<p>And so on:</p>
<pre><code class="lang-javascript">m(&quot;main&quot;, [
    m(&quot;h1&quot;, {class: &quot;title&quot;}, &