</tr>
</tbody>
</table>
<p><a href="signatures.html">How to read signatures</a></p>
<hr>
<h3 id="how-it-works"><a href="#how-it-works">How it works</a></h3>
<p>Mithril provides a hyperscript function <code>m()</code>, which allows expressing any HTML structure using javascript syntax. It accepts a <code>selector</code> string (required), an <code>attributes</code> object (optional) and a <code>children</code> array (optional).</p>
<pre><code class="lang-javascript">m(&quot;div&quot;, {id: &quot;box&quot;}, 