You can use the global location object in JavaScript to navigate to new URLs programmatically. You can also use window.open to open pages in new tabs.