+ 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
4 Réponses
+ 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 ☺️☺️.
0
sry it was align="center" and align="right"
I missed it out while typing