aboutsummaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authorZhang Hang <TwoHeal@163.com>2021-09-12 16:09:06 +0800
committerGitHub <noreply@github.com>2021-09-12 16:09:06 +0800
commit832d2864113a121f0c864c915299679123f3e852 (patch)
treea4d2ae198074c814d40d7ebb07106af1ed899432 /files
parent6fe4a4af4ad067d316750186ea448dfa839e54c6 (diff)
downloadtranslated-content-832d2864113a121f0c864c915299679123f3e852.tar.gz
translated-content-832d2864113a121f0c864c915299679123f3e852.tar.bz2
translated-content-832d2864113a121f0c864c915299679123f3e852.zip
Fix missing content in Web/HTML/Element/link, zh-CN (#2362)
Attributes as is only used when rel="preload" or rel="prefetch" has been set on the <link> element. But the translation missed 'prefetch' .
Diffstat (limited to 'files')
-rw-r--r--files/zh-cn/web/html/element/link/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/web/html/element/link/index.html b/files/zh-cn/web/html/element/link/index.html
index e2b2038e43..b8b9fe0246 100644
--- a/files/zh-cn/web/html/element/link/index.html
+++ b/files/zh-cn/web/html/element/link/index.html
@@ -60,7 +60,7 @@ translation_of: Web/HTML/Element/link
<dl>
<dt>{{htmlattrdef("as")}}</dt>
- <dd>该属性仅在<code>&lt;link&gt;</code>元素设置了 <code>rel="preload"</code> 时才能使用。它规定了<code>&lt;link&gt;元素</code>加载的内容的类型,对于内容的优先级、请求匹配、正确的<a href="/zh-CN/docs/Web/HTTP/CSP">内容安全策略</a>的选择以及正确的 {{httpheader("Accept")}}请求头的设置,这个属性是必需的。</dd>
+ <dd>该属性仅在<code>&lt;link&gt;</code>元素设置了 <code>rel="preload"</code> 或者 <code>rel="prefetch"</code> 时才能使用。它规定了<code>&lt;link&gt;元素</code>加载的内容的类型,对于内容的优先级、请求匹配、正确的<a href="/zh-CN/docs/Web/HTTP/CSP">内容安全策略</a>的选择以及正确的 {{httpheader("Accept")}}请求头的设置,这个属性是必需的。</dd>
<dt>
<table>
<thead>