de | en

CSS text align

CSS Text-Align

Description

The CSS text-align property is used to define the alignment of text and other content within the selected element.

Example Text-Align

p.left {
   text-align: left;
}
p.center {
   text-align: center;
}
p.right {
   text-align: right;
}
p.justify {
   text-align: justify;
}

More CSS Properties