0

What is the difference between justify and center in <p> tag

Exaplain with example

11th Apr 2021, 7:17 AM
safana abbas
safana abbas - avatar
2 Answers
11th Apr 2021, 7:30 AM
AÍąJ
AÍąJ - avatar
0
center – Content centers between the left and right edges. White space on the left and right sides of each line should be equal. justify – Content spaces out such that as many blocks fit onto one line as possible and the first word on that line is along the left edge and the last word is along the right edge. You can see how it works by clicking on this following link. https://code.sololearn.com/WA17a147011A
11th Apr 2021, 7:39 AM
CHANDAN ROY
CHANDAN ROY - avatar