用浏览器打开html文件,无法访问里面链接


<html>
    <head>
        <title>快捷入口</title>
    </head>
    <body>
        搜索
        <br>
            <input id= "u1" maxlength= "8" name= "w1" type= "text">
        <br>
            <a href= <"https://www.csdn.net/?spm=1001.2101.3001.4476">G港</a>
    </body>
</html>

img

你的a标签href写错了,多了个 <

<html>
    <head>
        <title>快捷入口</title>
    </head>
    <body>
        搜索
        <br>
            <input id= "u1" maxlength= "8" name= "w1" type= "text">
        <br>
            <a href= "https://www.csdn.net/?spm=1001.2101.3001.4476">G港</a>
    </body>
</html>

href里面多了一个<


<a href="https://www.csdn.net/?spm=1001.2101.3001.4476">G港</a>

标签写错了