Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js create dom object

const e = document.createElement('div');
e.innerHTML = 'JavaScript DOM';
document.body.appendChild(e);
 
PREVIOUS NEXT
Tagged: #js #create #dom #object
ADD COMMENT
Topic
Name
5+4 =