网页返回顶部和返回底部

2024-10-13 06:40:39

1、新建html文档。

网页返回顶部和返回底部

3、书写hmtl代艨位雅剖码。<a name="gotop"></a>稆糨孝汶;<div style="width:980px;height:2000px;background:#fff;margin:0 auto;"></div><a name="gobottom"></a><div class="go"> <a title="返回顶部" class="top" href="#gotop">至顶</a> <a title="如果您有意见,请反馈给我们!" class="feedback" href="#" target="_blank">反馈</a> <a title="返回底部" class="bottom" href="#gobottom">至底</a></div>

网页返回顶部和返回底部

5、代码整体结构。

网页返回顶部和返回底部
猜你喜欢