The CSS vertical-align property can be used to configure the vertical alignment of the contents of a table cell. code example
Example: css vertical align
.top-align {
vertical-align: top;
}
.center-align {
vertical-align: middle;
}
.top-align {
vertical-align: top;
}
.center-align {
vertical-align: middle;
}