Loading [MathJax]/jax/output/HTML-CSS/fonts/TeX/fontdata.js

Create Element

You can always create a new element on the fly with the document method like document.createElement('H3');

This will create a new H3 element but still you need to put it in the document. In order to achieve it you need to use one of the append element methods and explicitly specified on which part of the document the brand new created element will be inserted.

Additionally you can remove an element by using the document.removeElement('H3').

Find all the document methods here.