Run
Online Code Editor
It is an example of using the document.createElement() method.
Click the below button to insert a new button element in the document.
Create Button