<hr width="50px" /> why this line don't print from left side | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

<hr width="50px" /> why this line don't print from left side

why this horizontal line starts from middle of the screen

27th Sep 2017, 6:43 AM
Prathamesh Dhuri
Prathamesh Dhuri - avatar
4 Answers
+ 4
<hr width="50" align="left" />
27th Sep 2017, 6:59 AM
Calviղ
Calviղ - avatar
+ 3
Because center is the default value of the aliggn attribute. Which means if you never set the align attribute it automatically aligns to center
27th Sep 2017, 9:14 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 3
ok now i got it thanks @$Vengat and Calviղ
27th Sep 2017, 9:55 AM
Prathamesh Dhuri
Prathamesh Dhuri - avatar
+ 2
but we have align=center then also it print to center why
27th Sep 2017, 7:30 AM
Prathamesh Dhuri
Prathamesh Dhuri - avatar