.scrollIntoView()

Term side of the Card
Topic: Object on Page
Unit title: .scrollIntoView()
Categories: Method
Explanation side of the Card

Explanation: The browser API method that scrolls the document until the specified element is visible within the viewport. This helps bring specific content into focus for the user.

Browser compatibility:
  • The chrome browser supports this feature starting from version 1
  • The edge browser supports this feature starting from version 79
  • The firefox browser supports this feature starting from version 1
  • The safari browser supports this feature starting from version 3
Availability: