Answers for "tag to draw horizontal line in html"

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 "tag to draw horizontal line in html"

Browse Popular Code Answers by Language