+ 2
<hr> tag ; how can i get around its property ?!
when i make a <p> in html decument adding text-align to be center or any other alignment then use <hr> tag , the effect of centerd alignment is applyed and work befor the <hr> tag but the <p> after the <hr> doesn't get the effect of align . any idea ? this is one of my first codes here https://code.sololearn.com/WiWqSIQ2JYUc/?ref=app ahh by the way i forgot how to copy codes links .. anyone help me đ·đ·đ·
4 Answers
+ 1
I recommend you to use different <p> elements for each line you are writing down. Otherwise, if you are willing to center everything, just add a <center> tag at the beginning after the body element and then close it with </center> before you close the body tag. Hope this helps.
+ 7
use CSS
+ 2
thanks @Captain object
+ 1
it didnt work @Ali