From 4e2334aab2bf15e64c2d0f73b55a7dbcb2fe638d Mon Sep 17 00:00:00 2001 From: A1lo Date: Tue, 31 May 2022 14:27:18 +0800 Subject: [PATCH] Apply suggestions from code review --- files/zh-tw/web/css/border/index.html | 6 +++--- files/zh-tw/web/css/grid-template/index.html | 1 - files/zh-tw/web/css/transition-timing-function/index.html | 1 - files/zh-tw/web/html/element/br/index.html | 1 - files/zh-tw/web/html/element/picture/index.html | 1 - files/zh-tw/web/media/formats/containers/index.html | 1 - 6 files changed, 3 insertions(+), 8 deletions(-) diff --git a/files/zh-tw/web/css/border/index.html b/files/zh-tw/web/css/border/index.html index baf7780d406f6f..b706f3a9f96e1a 100644 --- a/files/zh-tw/web/css/border/index.html +++ b/files/zh-tw/web/css/border/index.html @@ -59,11 +59,11 @@

Syntax

Values

-
"><line-width>
+
<line-width>
Sets the thickness of the border. Defaults to medium if absent. See {{Cssxref("border-width")}}.
-
"><line-style>
+
<line-style>
Sets the style of the border. Defaults to none if absent. See {{Cssxref("border-style")}}.
-
">{{cssxref("<color>")}}
+
{{cssxref("<color>")}}
Sets the color of the border. Defaults to currentcolor if absent. See {{Cssxref("border-color")}}.
diff --git a/files/zh-tw/web/css/grid-template/index.html b/files/zh-tw/web/css/grid-template/index.html index 0d84321c7d3d0a..6c1eddcff1c145 100644 --- a/files/zh-tw/web/css/grid-template/index.html +++ b/files/zh-tw/web/css/grid-template/index.html @@ -7,7 +7,6 @@
{{EmbedInteractiveExample("pages / css / grid-template.html")}}
-

該交互式示例的源存儲在GitHub存儲庫中。如果您想為交互式示例項目做出貢獻,請克隆https://github.com/mdn/interactive-examples並向我們發送請求請求。

作者可以為長期屬性設置值:{{cssxref("grid-template-rows")}},{{cssxref("grid-template-columns")}}和{{cssxref("grid-template-areas ")}}。

diff --git a/files/zh-tw/web/css/transition-timing-function/index.html b/files/zh-tw/web/css/transition-timing-function/index.html index 3e8f815ea9affa..e5f91aaadf01a8 100644 --- a/files/zh-tw/web/css/transition-timing-function/index.html +++ b/files/zh-tw/web/css/transition-timing-function/index.html @@ -9,7 +9,6 @@
{{EmbedInteractiveExample("pages/css/transition-timing-function.html")}}
-

這個互動式範例存放在 GitHub 專案中,如果你想貢獻,請 Clone https://github.com/mdn/interactive-examples 並發送 PR。

 

diff --git a/files/zh-tw/web/html/element/br/index.html b/files/zh-tw/web/html/element/br/index.html index 2b6e176b8bd59d..206ab462f2490c 100644 --- a/files/zh-tw/web/html/element/br/index.html +++ b/files/zh-tw/web/html/element/br/index.html @@ -9,7 +9,6 @@
{{EmbedInteractiveExample("pages/tabbed/br.html", "tabbed-standard")}}
-

The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request.

如上所示,<br> 元素會在需要斷行的時候出現。在 <br> 之後的文字會從文字區域的下一行出現。

diff --git a/files/zh-tw/web/html/element/picture/index.html b/files/zh-tw/web/html/element/picture/index.html index 3e7c5b329cc06d..5fcec7d8336783 100644 --- a/files/zh-tw/web/html/element/picture/index.html +++ b/files/zh-tw/web/html/element/picture/index.html @@ -11,7 +11,6 @@
{{EmbedInteractiveExample("pages/tabbed/picture.html", "tabbed-standard")}}
-

The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request.

為了決定載入哪一個 URL,{{Glossary("user agent")}} 會檢視每一個 <source> 的 {{htmlattrxref("srcset", "source")}}、{{htmlattrxref("media", "source")}} 以及 {{htmlattrxref("type", "source")}} 屬性,以選出最適合當前版面以及顯示裝置支援度的圖片。

diff --git a/files/zh-tw/web/media/formats/containers/index.html b/files/zh-tw/web/media/formats/containers/index.html index 2168c6e4aef3ca..3a82191b741e0a 100644 --- a/files/zh-tw/web/media/formats/containers/index.html +++ b/files/zh-tw/web/media/formats/containers/index.html @@ -1124,7 +1124,6 @@

Maximizing compatibil
{{EmbedInteractiveExample("pages/tabbed/source.html", "tabbed-standard")}}
-

The source for this interactive example is stored in a GitHub repository. If you'd like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request.

The video is offered first in WebM format (with the {{htmlattrxref("type", "video")}} attribute set to video/webm). If the {{Glossary("user agent")}} can't play that, it moves on to the next option, whose type is specified as video/mp4. If neither of those can be played, the text "This browser does not support the HTML5 video element." is presented.