spec</a></li>
</ul>
</li>
</ul>
<hr>
<h3 id="description"><a href="#description">Description</a></h3>
<p>Represents an HTML element in a Mithril view</p>
<pre><code class="lang-javascript">m(&quot;div&quot;, {class: &quot;foo&quot;}, &quot;hello&quot;)
// represents &lt;div class=&quot;foo&quot;&gt;hello&lt;/div&gt;
</code></pre>
<p>You can also <a href="https://babeljs.io/repl/#?code=%2F**%20%40jsx%20m%20*%2F%0A%3Ch1%3EMy%20first%20app%3C%2Fh1%3E">use HTML syntax</a> via a Babel plugin.</p>
<pre><code clas