The block is
<h2>Test</h2>
<style>
h2 {
padding: 0;
margin: 0;
line-height: 1;
font-family: "Montserrat", sans-serif;
font-size: 34px;
}
</style>
I am getting block with small distance from the top and to the bottom.
How to fit text exactly to its block?
Top of Upper letter of the texts needs to be the border of the block.
The picture of the block I've got.
Blue area - is the block. But top and bottom borders block are not the same as top and bottom text borders. Expected result - top and bottom of the text charactes are the block boundaries.