The vertical-align property is used in two scenarios: to vertically align inline elements with respect to the line box, and to vertically align the contents of table cells.

When vertically aligning inline elements within a line box, the vertical-align property can be used with the keywords top, middle, bottom, text-top, text-bottom.

Gg Top Middle Bottom Text Top Text Bottom