Horizontal Alignment
Alignment properties allows developers to specify how text should be positioned within an element.
The text alignment property (text-align:
) specifies horizontal placement of text in an element.
CSS
* {
text-align: left;
}
text-align:
accepts these term values:
left
(default)center
right
justify
- Previous
- Next