Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js create element

var newDiv = document.createElement("div");
document.body.appendChild(newDiv);
 
PREVIOUS NEXT
Tagged: #js #create #element
ADD COMMENT
Topic
Name
8+9 =