Javascript Set Text Of Div

Use the document.createElementmethod, passing in the type of element—in this case, div. The new element is assigned a CSS style through the ...