Can we change the width of <hr> | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

Can we change the width of <hr>

10th Jan 2020, 10:04 AM
Jatin Dahiya
3 Answers
+ 7
Use the width attribute in <hr/> <hr width="50%" />
10th Jan 2020, 10:13 AM
Jaydeep Khatri
Jaydeep Khatri - avatar
+ 2
Jaydeep khatri thx a lot
11th Jan 2020, 4:12 AM
Jatin Dahiya
+ 1
Yes.. eg: <hr width="25%">
14th Jan 2020, 5:06 PM
Naresh Dhyawarshetti
Naresh Dhyawarshetti - avatar