非常简单的方法,使用锚点
<span id = "skill"></span>
只需要用<a href="#skill">就可以实现页面内跳转,自动跳转到
URL上显示为:/index.html#contact