texttop
Texttop is a term used in typography and digital typesetting to describe the alignment of inline content with the upper edge of the line box, rather than with the baseline or the middle of the glyphs. It denotes how the top boundary of an element’s content sits in relation to the font metrics of the surrounding text.
In practice, texttop refers to an alignment option that can be applied to inline elements such as
The term is used loosely in many design and development environments. In CSS terms, the closest recognized
Applications of texttop include aligning small UI elements with text in interfaces, ensuring consistent top alignment
See also: vertical-align, baseline, cap height, ascender, line height, glyph metrics.