CSS Property:

text-align

Result:

This is an example of the CSS text-align property.The text-align property is used for aligning the inner content of a block element.

CSS Code:

#myDiv {
                
;
}
Click the property values above to see the result
W3Docs.com-Play it
Do you find this helpful?