0
点赞
收藏
分享

微信扫一扫

锚点连接的操作

文风起武 2022-04-13 阅读 61
html5
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>maodianlianjie</title>
    <style>
          .class1{
            white-space: pre;
            text-align: center;
          }

    </style>
</head>
<body>
    <div class="class1">
        <a id="string4">嘿嘿,依次点击哦</a>
        <a href="#string1">hello</a>
        <a href="#string2">请点击我</a>
        <a href="#string3">有惊喜</a>

       





































        




































        
<a name="string1">想对你说</a>

<a href="#string4">开始</a>
































































































        <a name="string2">I  Love ?</a>


        <a href="#string4">你猜</a>
















































































        <a id="string3"> You</a>
        <p>不回去了, 陪我好吗</p>
</div>

</body>

</html>
举报

相关推荐

锚点的用法

java的锚点使用

HTML 锚点

Vue锚点链接

简易网站锚点布局

html锚点使用示例

0 条评论