As the title explains; I have an <h1> element located in the <header> section of the page and I want it to have a background color and not have white space above it. In the CSS, I have set the padding to 0; and the margin to 0; as well. Even after these changes, I have white space above my <h1> tag. Here's the code I used...
header {
background-color: #FFFFFF;
}
html,
body {
background-color: #7fffd4;
margin: 0;
padding: 0;
}
<header>
<div class="name">
<h1>WHITE SPACE ABOVE THIS TAG</h1>
</div>
</header>