aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/html/element/input/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/html/element/input/index.html')
-rw-r--r--files/zh-cn/web/html/element/input/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/web/html/element/input/index.html b/files/zh-cn/web/html/element/input/index.html
index 2b95e433f8..7a0eec9474 100644
--- a/files/zh-cn/web/html/element/input/index.html
+++ b/files/zh-cn/web/html/element/input/index.html
@@ -629,7 +629,7 @@ translation_of: Web/HTML/Element/input
<p>The values of the list attribute is the {{domxref("Element.id", "id")}} of a {{HTMLElement("datalist")}} element located in the same document. The <code>&lt;datalist&gt;</code>  provides a list of predefined values to suggest to the user for this input. Any values in the list that are not compatible with the {{htmlattrxref("type", "input")}} are not included in the suggested options.  The values provided are suggestions, not requirements: users can select from this predefined list or provide a different value.</p>
-<pre>&lt;datalist id="colorsxx"&gt;
+<pre class="brush: html">&lt;datalist id="colorsxx"&gt;
&lt;option&gt;#ff0000&lt;/option&gt;
&lt;option&gt;#ee0000&lt;/option&gt;
&lt;option&gt;#dd0000&lt;/option&gt;