To change the webpage that opens in new tabs, choose Safari > Settings, click General, click the New tabs open with pop-up menu, then choose an option. See to open the previous or next webpage in a new tab.
Type in on your Mac.
Choose History > Recently Closed, then choose the webpage you want to reopen.
You can also reopen a closed tab or window.