How to remove white space of my webpage

Hi guys!
I’m new to learn code,
So how can I remove the white space at the top and the left of my webpage, I have tried change margin and padding, but it’s not working. Please give me some advice

Then you’re doing it to the wrong element.

Would help if you shared your code.
In the mean time try resetting everything - see this question/answer

try removing margin from the html element

As i can see you also have white space on the left also the right .I can suggest you to use css normalizer , also try margin top 0px.

Set the margin for the body to 0.

<body style="margin: 0";>

Thanks all for helping me!!!