Add CSS Syntax (#19836)

This commit is contained in:
Smruti Ranjan Rana
2018-11-02 12:42:27 +05:30
committed by Nishant Mishra
parent 3a6594f1fb
commit e637a3c703

View File

@ -5,6 +5,11 @@ title: Text Align
This CSS property describes the horizontal alignment of inline content in its parent block element. `text-align` does not control the alignment of block elements, it affects only their inline content. This CSS property describes the horizontal alignment of inline content in its parent block element. `text-align` does not control the alignment of block elements, it affects only their inline content.
### CSS Syntax
`text-align: value;`
value : `left|right|center|justify|initial|inherit`
### Values: ### Values:
The `text-align` property is specified as a single keyword chosen from the list of values below: The `text-align` property is specified as a single keyword chosen from the list of values below: