Specifies the alignment type of the last or only line of text in the element's contents.
If you want to align text horizontally within an element, use the text-align property.
One of the following values:
|Default. The text content of the element is aligned like the other lines in the object.|
|The text content of the element is centered.|
|The text content of the element is justified.|
|Aligns the text content of the element to the left.|
|Aligns the text content of the element to the right.|
Example HTML code 1:
This example illustrates the use of the text-align-last property:
Did you find this example helpful?
Supported by tags:
User Contributed Comments