ge-javascript>m(&quot;div&quot;, {id: &quot;box&quot;}, &quot;hello&quot;)

// renders to this HTML:
// &lt;div id=&quot;box&quot;&gt;hello&lt;/div&gt;</code></pre>
<p>The <code>m()</code> function does not actually return a DOM element. Instead it returns a <a href=vnodes.html>virtual DOM node</a>, or <em>vnode</em>, which is a JavaScript object that represents the DOM element to be created.</p>
<pre><code class=language-javascript>// a vnode
var vnode = {tag: &quot;div&quot;, attrs: {id: &quot;box&quot;},