</div> tag is malfunctioning

I am currently building my website and in it, after I finish the footer, two div tags appear and if I delete one of them and then view how my website is looking, my footer minimizes and when do inspect element and see what the problem is, I find that the div tag I deleted has reappeared and if I delete it again and exit inspect element, the problem still persists and the div tag reappears in the code without any actions taken. I won’t be able to provide any images as my file explorer isn’t working. Please suggest a solution as early as possible.


This is what is happening. Even if I delete one of them, it reappears after I exit inspect element and then re-enter it.