From a02f4b2f60c81e09b318a090e5c9c2d2d641c878 Mon Sep 17 00:00:00 2001 From: t7yang Date: Sat, 17 Jul 2021 16:10:02 +0800 Subject: replace wiki links in zh-CN --- files/zh-cn/web/html/element/select/index.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'files/zh-cn/web/html/element/select') diff --git a/files/zh-cn/web/html/element/select/index.html b/files/zh-cn/web/html/element/select/index.html index fa0d3e3cfa..57f094a833 100644 --- a/files/zh-cn/web/html/element/select/index.html +++ b/files/zh-cn/web/html/element/select/index.html @@ -24,7 +24,7 @@ translation_of: Web/HTML/Element/select

你还可以将 <option> 元素放在 {{htmlelement("optgroup")}} 元素中以为下拉菜单创建不同的选项分组。

-

在 原生表单部件 中查看更多示例。

+

在 原生表单部件 中查看更多示例。

属性

@@ -87,9 +87,9 @@ translation_of: Web/HTML/Element/select

应用 CSS 样式

-

众所周知,<select>元素很难用 CSS 进行高效的设计。你可以像其他元素一样改变某些方面——例如,调整 盒模型显示的字体 等,你还可以使用 {{cssxref("appearance")}} 属性来去除默认的系统外观。

+

众所周知,<select>元素很难用 CSS 进行高效的设计。你可以像其他元素一样改变某些方面——例如,调整 盒模型显示的字体 等,你还可以使用 {{cssxref("appearance")}} 属性来去除默认的系统外观。

-

但是,这些属性的表现在不同浏览器之间并不一致,而且有些事情难以很好地处理,例如在一列中顺序排列不同类型的表单元素。 <select>元素的内部结构复杂,难以控制。 如果你想完全控制,你应该考虑使用一个在修改表单部件样式方面拥有强大能力的库,或者尝试使用非语义元素和 JavaScript 来制作下拉菜单,再使用 WAI-ARIA 来提供语义。

+

但是,这些属性的表现在不同浏览器之间并不一致,而且有些事情难以很好地处理,例如在一列中顺序排列不同类型的表单元素。 <select>元素的内部结构复杂,难以控制。 如果你想完全控制,你应该考虑使用一个在修改表单部件样式方面拥有强大能力的库,或者尝试使用非语义元素和 JavaScript 来制作下拉菜单,再使用 WAI-ARIA 来提供语义。

有关样式<select>的更多有用信息,请参阅:

@@ -150,8 +150,8 @@ translation_of: Web/HTML/Element/select - - + + @@ -163,7 +163,7 @@ translation_of: Web/HTML/Element/select - + -- cgit v1.2.3-54-g00ecf
内容分类Flow contentphrasing contentinteractive contentlistedlabelableresettable, and submittable form-associated element内容分类Flow contentphrasing contentinteractive contentlistedlabelableresettable, and submittable form-associated element
允许的内容
允许的父元素Any element that accepts phrasing content.Any element that accepts phrasing content.
Implicit ARIA role