Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript dom manipulation

var newDiv = document.createElement('div');
newDiv.innerHTML = '<p>Hello World!</p>';
document.body.appendChild(newDiv);
 
PREVIOUS NEXT
Tagged: #javascript #dom #manipulation
ADD COMMENT
Topic
Name
3+8 =