+ 6

how can i get 50% of horizontal line from left in output? why it is placed in center of the screen even there is no attribute in <hr width="50%" />?

25th Jul 2016, 7:07 PM
Dhana sri sowmya avidi
Dhana sri sowmya avidi - avatar
4 Answers
+ 8
i got the answer. using align attribute in <hr width="50%" /> we can change the position of the horizontal line. <hr align="left" width="50%" />
25th Jul 2016, 7:16 PM
Dhana sri sowmya avidi
Dhana sri sowmya avidi - avatar
+ 1
align it to left
26th Jul 2016, 1:23 PM
Akarshit Sharma
Akarshit Sharma - avatar
0
chng the direction of the align
29th Nov 2016, 2:23 AM
akash roy
akash roy - avatar
0
<hr align="left" width="50%"/>
23rd Feb 2017, 2:39 AM
Abdul Harfath
Abdul Harfath - avatar