The following images are aligned top, middle, and bottom.
top aligns the top of the image with the top of the line.
The top of the line is a little higher than the tallest letter, because there is a little padding.
middle aligns the middle of the image with the middle of the letters.
bottom aligns the bottom of the image with the base line of the letters.
The descenders go below the base line in letters such as g j p q.
The example includes the characters |_ _| to better show the maximum size and baseline of the letters.
This image |__| is aligned top.
This image |__| is also aligned top.
This image |__| is aligned middle.
This image |__| is also aligned middle.
This image |__| is aligned bottom.
This image |__| is also aligned bottom.