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