♦ CSS Text Alignment
♣ Example2: CSS Text Alignment
In this example, various types of text-alignment are illustrated.To be specific right, center, left(default) and justify.
right, center, left are self-explanatory.
justify keyword makes the words of textual-content to spread out evenly on the line by providing equal spacing throughout that line.
Example
Input:
Output: