Q1. What is text-align property?
text-align sets horizontal alignment of text and inline elements. Values: left, right, center, justify.
Q2. What does justify do?
justify stretches each line so both left and right edges align, like in newspapers. Last line may not be justified.
Q3. What is the default text-align value?
In left-to-right languages like English, default is left. In right-to-left languages, default is right.
Q4. What does text-align-last do?
text-align-last controls alignment of the last line when text-align is justify.
Q5. Can text-align center block elements?
No, text-align only aligns inline content. For block elements, use margin: 0 auto or flexbox.
