<script language="javascript">function function1(){ var myElement = document.createElement('<div style="width:600; height:200;background-color:blue;"></div>'); document.all.myBody.applyElement(myElement, 'inside'); } </script><body id="myBody"><button onclick="function1();">Apply element</button></body></html>
Name (required)
email (will not be published) (required)
Website