Skip to content

Commit

Permalink
Move URL related docs to the new area
Browse files Browse the repository at this point in the history
  • Loading branch information
yin1999 committed Aug 27, 2024
1 parent 81d901a commit 6f83c70
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 153 deletions.
2 changes: 0 additions & 2 deletions files/zh-tw/_redirects.txt
Original file line number Diff line number Diff line change
Expand Up @@ -492,9 +492,7 @@
/zh-TW/docs/Web/HTTP/Access_control_CORS /zh-TW/docs/Web/HTTP/CORS
/zh-TW/docs/Web/HTTP/Basics_of_HTTP/Choosing_between_www_and_non-www_URLs /zh-TW/docs/Web/URI/Authority/Choosing_between_www_and_non-www_URLs
/zh-TW/docs/Web/HTTP/Basics_of_HTTP/Data_URLs /zh-TW/docs/Web/URI/Schemes/data
/zh-TW/docs/Web/HTTP/Basics_of_HTTP/Identifying_resources_on_the_Web /zh-TW/docs/orphaned/Web/HTTP/Basics_of_HTTP/Identifying_resources_on_the_Web
/zh-TW/docs/Web/HTTP/Link_prefetching_FAQ /zh-TW/docs/Glossary/Prefetch
/zh-TW/docs/Web/HTTP/Resources_and_URIs /zh-TW/docs/Web/HTTP/Basics_of_HTTP/MIME_types
/zh-TW/docs/Web/HTTP/Response_codes /zh-TW/docs/Web/HTTP/Status
/zh-TW/docs/Web/HTTP/Server-Side_Access_Control /zh-TW/docs/Web/HTTP/CORS
/zh-TW/docs/Web/HTTP/Status/418_I_m_a_teapot /zh-TW/docs/Web/HTTP/Status/418
Expand Down
4 changes: 0 additions & 4 deletions files/zh-tw/_wikihistory.json
Original file line number Diff line number Diff line change
Expand Up @@ -2868,10 +2868,6 @@
"yyss"
]
},
"Web/HTTP/Basics_of_HTTP/MIME_types": {
"modified": "2020-06-08T05:57:19.890Z",
"contributors": ["hikariTW", "willynpi"]
},
"Web/HTTP/Browser_detection_using_the_user_agent": {
"modified": "2020-09-21T11:14:16.789Z",
"contributors": ["iigmir", "jwhitlock"]
Expand Down

This file was deleted.

4 changes: 2 additions & 2 deletions files/zh-tw/web/html/element/a/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ slug: Web/HTML/Element/a

- {{HTTPHeader("Content-Disposition")}} HTTP 標頭
- URL [路徑](/zh-TW/docs/Web/API/URL/pathname)中的最終段落
- {{HTTPHeader("Content-Type")}} 標頭中的{{Glossary("MIME_type", "媒體類型")}},以及 [`data:` URL](/zh-TW/docs/Web/HTTP/Basics_of_HTTP/Data_URLs) 的開頭,或是 [`blob:` URL](/zh-TW/docs/Web/API/URL/createObjectURL_static) 的 {{domxref("Blob.type")}}。
- {{HTTPHeader("Content-Type")}} 標頭中的{{Glossary("MIME_type", "媒體類型")}},以及 [`data:` URL](/zh-TW/docs/Web/URI/Schemes/data) 的開頭,或是 [`blob:` URL](/zh-TW/docs/Web/API/URL/createObjectURL_static) 的 {{domxref("Blob.type")}}。

- `filename`:定義值可建議作為文件名。 `/``\` 字符將轉換為底線(`_`)。檔案系統可能禁止文件名中的其他字符,因此如果需要,瀏覽器將調整建議的名稱。
- `filename`:定義值可建議作為文件名。`/``\` 字符將轉換為底線(`_`)。檔案系統可能禁止文件名中的其他字符,因此如果需要,瀏覽器將調整建議的名稱。

> [!NOTE]
>
Expand Down
2 changes: 1 addition & 1 deletion files/zh-tw/web/html/element/base/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ slug: Web/HTML/Element/base
- `href`
- : 用於整個文件中相對 URL 的基礎 URL。
允許絕對和相對 URL。
不允許 [`data:`](/zh-TW/docs/Web/HTTP/Basics_of_HTTP/Data_URLs)`javascript:` URL。
不允許 [`data:`](/zh-TW/docs/Web/URI/Schemes/data)`javascript:` URL。
- `target`

- : 顯示來自 {{HTMLElement("a")}}、{{HTMLElement("area")}} 或 {{HTMLElement("form")}} 元素的導航結果的**關鍵字****作者定義的名稱**的默認{{Glossary("browsing context", "瀏覽上下文")}}。以下關鍵字具有特殊含義:
Expand Down
22 changes: 0 additions & 22 deletions files/zh-tw/web/http/basics_of_http/mime_types/index.md

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
---
title: 選擇 www 和非 www 網址
slug: Web/URI/Authority/Choosing_between_www_and_non-www_URLs
original_slug: Web/HTTP/Basics_of_HTTP/Choosing_between_www_and_non-www_URLs
l10n:
sourceCommit: 3c29ffa78c551ea6a61bbb795a5f97a66c6868c0
sourceCommit: 6b730e3cfdf0f51940b44efa71bd59c84ce76e71
---

{{HTTPSidebar}}
{{QuickLinksWithSubpages("/zh-TW/docs/Web/URI")}}

網站擁有者經常面臨的一個問題是選擇「www」(`www.example.com`)還是「非 www」(`example.com`)網址。本頁面將提供一些建議,幫助你做出最佳選擇。

Expand Down
3 changes: 1 addition & 2 deletions files/zh-tw/web/uri/schemes/data/index.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
---
title: Data URL
slug: Web/URI/Schemes/data
original_slug: Web/HTTP/Basics_of_HTTP/Data_URLs
l10n:
sourceCommit: 997a0ec66e1514b7269076195b2419db334e876e
---

{{HTTPSidebar}}
{{QuickLinksWithSubpages("/zh-TW/docs/Web/URI")}}

**Data URL** 是以 `data:` 開頭的 URL,允許內容創作者將小型檔案嵌入文件中。以前它們被稱為「data URI」,直到 WHATWG 將這個名稱廢除。

Expand Down

0 comments on commit 6f83c70

Please sign in to comment.