Someone asked my friend how to remove the space around a heading tag, and he answered with
h1 {
margin: 0;
padding: 0;
}
But I've never actually seen padding around a heading. Only margin, in every browser I got. So now I'm wondering, is there actually any browser, in which there is padding around the headings by default?
Or is it a standard that all browsers follow, to not put padding around headings? Is the padding: 0;
unnecessary?