+ 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 🌷🌷🌷

28th Jan 2018, 7:08 PM
BeeHex
BeeHex - avatar
4 ответов
+ 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.
29th Jan 2018, 3:08 AM
Captain Object
Captain Object - avatar
+ 7
use CSS
29th Jan 2018, 3:23 AM
Ali Abdulbasit
Ali Abdulbasit - avatar
+ 2
thanks @Captain object
29th Jan 2018, 11:42 AM
BeeHex
BeeHex - avatar
+ 1
it didnt work @Ali
29th Jan 2018, 11:43 AM
BeeHex
BeeHex - avatar