Home » HTML » Html miscellaneous » Question
  1. What should be set with text-align property so that every line has equal width like in magazines and newspapers?
    1. text-align: bottom
    2. text-align: top
    3. text-align: justify
    4. text-align: none
    5. None of these
Correct Option: C

By setting text-align property to “justify”, each line is stretched so that every line has equal width, left and right margins are straight like in magazines and newspapers. Text-align: center, text-align: right, text-align: left is also used for aligning the text at center, right and left respectively.



Your comments will be displayed only after manual approval.