CSS Property:
vertical-align:

Result:

This example demonstrates different vertical-aligns.

CSS Code:

span#mySpan {
  background-color:yellow;
  vertical-align:baseline;
}
  
Click the property values above to see the result
W3Schools.com - Play it