Answers for "css hr element"

16

horizontal line html

<!-- code -->

<hr>

<!-- code -->
Posted by: Guest on February-18-2020
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

Browse Popular Code Answers by Language