aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/html/element/menuitem
diff options
context:
space:
mode:
authorJason Lee <huacnlee@gmail.com>2022-01-04 17:38:26 +0800
committerIrvin <irvinfly@gmail.com>2022-02-15 22:48:15 +0800
commit01b845e6d402777fe03cc4dd7ed5f21af400eed1 (patch)
treeb3d3d8272d9c7c5207ebb016d072a10d9b7e04ea /files/zh-cn/web/html/element/menuitem
parentc1ed2f39d8921536444e3334bab549d7100a286e (diff)
downloadtranslated-content-01b845e6d402777fe03cc4dd7ed5f21af400eed1.tar.gz
translated-content-01b845e6d402777fe03cc4dd7ed5f21af400eed1.tar.bz2
translated-content-01b845e6d402777fe03cc4dd7ed5f21af400eed1.zip
Improve copywriting for add spaces between Chinese and English words for files/zh-cn/web/html/element.
Diffstat (limited to 'files/zh-cn/web/html/element/menuitem')
-rw-r--r--files/zh-cn/web/html/element/menuitem/index.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/files/zh-cn/web/html/element/menuitem/index.html b/files/zh-cn/web/html/element/menuitem/index.html
index 18605f55a0..86d23c3144 100644
--- a/files/zh-cn/web/html/element/menuitem/index.html
+++ b/files/zh-cn/web/html/element/menuitem/index.html
@@ -23,7 +23,7 @@ translation_of: Web/HTML/Element/menuitem
</tr>
<tr>
<th scope="row">允许的内容</th>
- <td>None, 这是一个{{Glossary("empty element", "空元素")}}。</td>
+ <td>None,这是一个{{Glossary("empty element", "空元素")}}。</td>
</tr>
<tr>
<th scope="row">标签省略</th>
@@ -52,17 +52,17 @@ translation_of: Web/HTML/Element/menuitem
<dt>{{HTMLAttrDef("checked")}}</dt>
<dd>布尔值,指示是否选择了命令。只能作为属性使用在 <code>checkbox</code> 或 <code>radio</code> 中。</dd>
<dt>{{HTMLAttrDef("command")}}</dt>
- <dd>指定一个单独元素的ID,指示要间接调用的命令。在包含属性的菜单项中也不能使用。<code>checked</code>、<code>disabled</code>、<code>icon</code>、<code>label</code>、<code>radiogroup</code> 或 <code>type</code>。</dd>
+ <dd>指定一个单独元素的 ID,指示要间接调用的命令。在包含属性的菜单项中也不能使用。<code>checked</code>、<code>disabled</code>、<code>icon</code>、<code>label</code>、<code>radiogroup</code> 或 <code>type</code>。</dd>
<dt>{{HTMLAttrDef("default")}}</dt>
<dd>布尔值,表示使用与菜单主题元素相同的命令。(如 <code>button</code> 或 <code>input</code>)。</dd>
<dt>{{HTMLAttrDef("disabled")}}</dt>
<dd>布尔值,表示命令在当前状态下不可用。请注意,禁用与隐藏不同;禁用的属性适用于任何环境变化可能导致命令相关的上下文中。</dd>
<dt>{{HTMLAttrDef("icon")}}</dt>
- <dd>图片URL,用于提供图片来表示命令。</dd>
+ <dd>图片 URL,用于提供图片来表示命令。</dd>
<dt>{{HTMLAttrDef("label")}}</dt>
<dd>展示给用户一个命令的名字,当 <code>command</code> 属性不存在时是必须的。</dd>
<dt>{{HTMLAttrDef("radiogroup")}}</dt>
- <dd>此属性指定要切换为单选按钮时,选定的一组命令的名称。只能作为radio的属性使用。</dd>
+ <dd>此属性指定要切换为单选按钮时,选定的一组命令的名称。只能作为 radio 的属性使用。</dd>
<dt>{{HTMLAttrDef("type")}}</dt>
<dd>这个属性指定命令的类型,可以为以下三个命令之一。
<ul>