>else</span> {
    dom = <span class="hljs-built_in">document</span>.getElementById(id);
  }

  dom.innerHTML = <span class="hljs-keyword">this</span>.source();
}
</code></pre>
<p><img src="../../img/bundle-your-html-3.png" alt="Image Alt"></p>
<h2><a class="anchor" aria-hidden="true" id="create-a-html-component"></a><a href="#create-a-html-component" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="