diff options
Diffstat (limited to 'files/zh-cn/web/html/element/menuitem/index.html')
| -rw-r--r-- | files/zh-cn/web/html/element/menuitem/index.html | 8 |
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> |
