CSS

CSS Intro

CSS Intro Quiz

CSS Intro Exercise

CSS Basic

CSS Basic Quiz

CSS Basic Exercise

CSS Advance

CSS Advance Quiz

CSS Advance Exercise

CSS3

CSS3 Quiz

CSS3 Exercise

CSS Properties

CSS Functions

CSS Selectors

CSS text align last Property

CSS text-align-last Property

 

 

The text-align-last property is used to specify how to align the last line of a text. It sets the alignment for all last lines within the selected element.

 

Default Value:-

 

Its default value is auto.

 

Syntax:-

 

Its syntax is:- text-align-last: auto | left | right | center | justify | start | end | initial | inherit;

 

Further Explanation:-

 

Value Description
auto The last line is justified and aligned left.
left The last line is aligned to the left.
right The last line is aligned to the right.
center The last line is center-aligned.
justify The last line is justified like the rest of the lines.
start The last line is aligned at the beginning of the line.
end The last line is aligned at the end of the line.
initial Sets this property to its default value.
inherit Inherits this property from its parent element.

Code Explanation

All Tutorials related to CSS Properties

All Sections related to CSS