valign attribute | vAlign property
Sets or retrieves how text and other content are vertically aligned within the object that contains them.
Syntax
| HTML | <element valign="p" ... > |
|---|---|
| JavaScript | |
Property values
Type: String
-
Default. Aligns the text in the middle of the object.
-
Aligns the base line of the first line of text with the base lines in adjacent objects.
-
Aligns the text at the bottom of the object.
-
Aligns the text at the top of the object.
See also
Show: