Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

JS new element

var x = document.createElement("tag");
x.style.color = "red";
document.body.appendChild(x);
 
PREVIOUS NEXT
Tagged: #JS #element
ADD COMMENT
Topic
Name
7+9 =