+ 30
How can we specify the length of horizontal line in html
7 ответов
+ 2
to manupulate hr length use it inside a div and assign div width = hr length desired
+ 16
Ok thank you
+ 14
But it will specify width i want to specify length
+ 11
It's actually a bit unintuitive, check yourself.
width specifies the length span
size specifies the "thickness"
+ 11
Divya Mohan Thank you for answering
+ 7
It's actually *width*:
<hr width="30%">
<hr width="100px">
0
width ko 100% kr do