everytime I use div tag to make the header I end up getting a white bar at the top of the page , no matter what I do, it does not go
Things I tried
1.setting body margin padding outline to 0px
2.setting div tag margin padding outline to 0px
What Do I do please help.
ps:I'm just a beginner and I'm sorry if the question is too silly.
<body>
<div class="head">
<h1>webisteName</h1>
<form>
<label for="email">Email or Phone</label>
<input type="email" name="email">
<label for="password">Password</label>
<input type="text" name="password">
<input type="submit" name="submit" value="Log In">
</form>
<p>Forgotten account?</p>
</div>
CSS:-
body
{
margin:0px;
padding:0px;
outline:0px;
}
.head
{
margin:0px;
padding:0px;
outline:0px;
}