There is a small task - I make an HTML button, how when I click on this button to close the current browser tab? And is it possible to do this?

    2 answers 2

    https://stackoverflow.com/questions/2076299/how-to-close-current-tab-in-a-browser-window

      close(); method close();

      write window.close(); and all