I am creating a website.
I have written the HTML part and now I am writing the stylesheet. But there is always some space above my header. How can I remove it?
It is good practice when you start creating website to reset all the margins and paddings. So I recommend on start just to simple do:
* { margin: 0, padding: 0 }
This will make margins and paddings of all elements to be 0, and then you can style them as you wish, because each browser has a different default margin and padding of the elements.