Answers for "how to draw a horizontal line in javascript"

2

how to draw a horizontal line in javascript

var elem = document.createElement("hr");
elem.setAttribute("width", "100px");
document.body.appendChild(elem);
Posted by: Guest on May-20-2020

Code answers related to "how to draw a horizontal line in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language