The Element.scrollIntoView() method scrolls the current element into the visible area of the browser window.