[Solved] Is it possible to have a button close the webpage it is on? {TLTR: NO}

If they are just regular links, then no - windows can't close themselves.

The only exception are windows that were opened using the Window.open() api - Window: close() method - Web APIs | MDN