scrolling to a certain part of the page onscroll code example Example: scroll to a section of your page html html { scroll-behavior: smooth; }