Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to draw a horizontal line in javascript

var elem = document.createElement("hr");
elem.setAttribute("width", "100px");
document.body.appendChild(elem);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #draw #horizontal #line #javascript
ADD COMMENT
Topic
Name
6+7 =