+ 1

Why doesnt the attribute of one tag be implemented after a hr tag

<html> <body> <p align="center">this is a text <hr width=10% / align="right"> this is another text </body> </html> output: this is a text ----------- this is another text why is ""this is another text"" not in center

5th Aug 2018, 8:15 AM
ChArAn ApPu ScAr
ChArAn ApPu ScAr - avatar
4 odpowiedzi
+ 2
Please post your code in playground and post its link here to get faster answer. It is in center because you have not close p tag. So p tag style will apply to it. Hope this helps ☺️☺️.
5th Aug 2018, 8:44 AM
Meet Mehta
Meet Mehta - avatar
0
sry it was align="center" and align="right" I missed it out while typing
5th Aug 2018, 2:04 PM
ChArAn ApPu ScAr
ChArAn ApPu ScAr - avatar