html a href scroll to div code example Example: scroll to a div using href <a href="#google"></a> <div id="google"></div>