What is this whitespace #text thing in html

I was making a website. I am getting a thing called white space between two h1 elements.
How can I remove it?
Thanks


Thanks!

Okay I found the solution here :-
It says it is only for inline-block elements but it works for other elements as well.