<!--HTML5(036)超連結到父資料夾的文件-->
<!doctype html>
<html>
<head>
    <meta charset = "utf-8">
    <title>HTML5(036)超連結到父資料夾的文件</title>
</head>
<body>
<header>
    <h1>child1</h1>
</header>
</header>
<p>
    <a href = "../index1.html">index1</a>
    <!--只需要加上'../'即可回上層的文件
    格式為:<a herf = "../html-file">..</a>-->
</p><p>
    <a href = "../index2.html">index2</a>
</p>
</body>
</html>

結果為:

image

arrow
arrow
    創作者介紹
    創作者 愛學習 的頭像
    愛學習

    愛學習

    愛學習 發表在 痞客邦 留言(0) 人氣()