相对路径问题

99 阅读1分钟
<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>Document</title>
</head>
<body>
    如果连个文件夹在同一级,直接打对应的名称

    如果在其同级的文件夹里,先进入文件夹,在找到文件
    "/"表示进入文件夹

    如果在其上一级,需要先返回上一级,在找到对应的文件夹
    "../"表示返回上一级
</body>
</html>