I have this code only (no CSS or more HTML).
When I load the html file in my browser there seems to me a 21px margin at the top (see the image link if you don't understand what I mean).
I know that the body element normally has an 8px margin by default, so I removed the margin by adding this code through the developer tools. margin: 0px;
Even after adding that code, I still get the 21px margin at the top of the page.
I don't know what to do, so if you can please help me, that would me great.
body {
margin: 0px;
}
<body>
<div id="unit-type">
<h1>Converter</h1>
</div>
</body>