Css Text Align Mdn Code Example


Example: left align css mdn


text-align:left; //Aligns the text to the left
text-align:right; //Aligns the text to the right
text-align:center; //Aligns the text to the center
text-align:justify; //Stretches the lines so that each line has equal width (like in newspapers and magazines)
text-align:initial //Sets this property to its default value.
text-align:inherit //Inherits this property from its parent element.

Comments

Popular posts from this blog

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android How Can I Convert A String To A Editable