diff options
author | yuchuan <1738733078@qq.com> | 2022-03-15 21:42:18 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-15 21:42:18 +0800 |
commit | bcfbbe117eab904ffc03726209b7a3e42a52eb5f (patch) | |
tree | 0572dd848a8ab2ba6d094a7089850aab3d1bf379 /files/zh-cn/web/html/element/textarea | |
parent | 42c588ef3ded2d0cc2f4a71d5d5f90a2c66e534e (diff) | |
download | translated-content-bcfbbe117eab904ffc03726209b7a3e42a52eb5f.tar.gz translated-content-bcfbbe117eab904ffc03726209b7a3e42a52eb5f.tar.bz2 translated-content-bcfbbe117eab904ffc03726209b7a3e42a52eb5f.zip |
fix zh-cn/docs/web/html/* pages with an EmbedLiveSample error and html codeblock style #2846 (#4525)
Diffstat (limited to 'files/zh-cn/web/html/element/textarea')
-rw-r--r-- | files/zh-cn/web/html/element/textarea/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/files/zh-cn/web/html/element/textarea/index.html b/files/zh-cn/web/html/element/textarea/index.html index fa37b65db3..02d8cbed82 100644 --- a/files/zh-cn/web/html/element/textarea/index.html +++ b/files/zh-cn/web/html/element/textarea/index.html @@ -157,11 +157,11 @@ textarea:valid { <p>This example has a placeholder set. Notice how it disappears when you start typing into the box.</p> -<pre><textarea name="textarea" +<pre class="brush: html"><textarea name="textarea" rows="5" cols="30" placeholder="Comment text."></textarea></pre> -<p>{{ EmbedLiveSample('Placeholder','600','80') }}</p> +<p>{{ EmbedLiveSample('占位符','600','80') }}</p> <div class="blockIndicator note"> <p><strong>Note:</strong> Placeholders should only be used to show an example of the type of data that should be entered into a form; they are <em>not</em> a substitute for a proper {{HTMLElement("label")}} element tied to the input. See {{SectionOnPage("/en-US/docs/Web/HTML/Element/input", "Labels and placeholders")}} for a full explanation.</p> |