: This property only works on inline , inline-block , or table-cell elements.

To apply this style, you must link the CSS to your HTML and assign the class to an element: CSS vertical-align property - W3Schools

This rule applies the vertical-align property with the value top :

: It aligns the top of the element (and its descendants) with the top of the entire line box or the top of the table cell. How to Use It in Your Code