> For the complete documentation index, see [llms.txt](https://jirlong.gitbook.io/html/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jirlong.gitbook.io/html/appendix/file-directory-path.md).

# File directory (Path)

在程式碼中，你看到如下的檔案連結，意味著這個html檔連結到main.css這個檔案。

```markup
<head>
    <title>your website title</title>
    <link rel="stylesheet" type="text/css" href="css/main.css">
</head>
```

可能的情形有以下三種

* 同層 href = “main.css”，這樣代表你這個html檔所要存取的是跟他同一個資料夾底下的main.css檔。
* 下n層 href=“css/main.css”，這樣代表你這個html檔所在位置有一個css資料夾，而你要存取的事那個css資料夾裡的main.css檔。
* 上一層 href=“../css/main.css”，這樣代表，你這個html檔所在的位置的上一層資料夾裡面，有一個css資料夾，裡面有個main.css檔。
