aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn
diff options
context:
space:
mode:
authoralinggo <60703725+alinggo@users.noreply.github.com>2022-02-17 17:33:39 +0800
committerGitHub <noreply@github.com>2022-02-17 17:33:39 +0800
commit1d327a59fba0506c86fd738549c11d53be26efbc (patch)
tree4c488aadd9baf2d6bc9c4c9684cadce88787eacd /files/zh-cn
parent8dfeab27c361cfc9db01de43799b2a61296512af (diff)
downloadtranslated-content-1d327a59fba0506c86fd738549c11d53be26efbc.tar.gz
translated-content-1d327a59fba0506c86fd738549c11d53be26efbc.tar.bz2
translated-content-1d327a59fba0506c86fd738549c11d53be26efbc.zip
fix example code, correct code order (#4183)
Diffstat (limited to 'files/zh-cn')
-rw-r--r--files/zh-cn/learn/forms/how_to_structure_a_web_form/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/zh-cn/learn/forms/how_to_structure_a_web_form/index.html b/files/zh-cn/learn/forms/how_to_structure_a_web_form/index.html
index 607792bb45..57545b2c67 100644
--- a/files/zh-cn/learn/forms/how_to_structure_a_web_form/index.html
+++ b/files/zh-cn/learn/forms/how_to_structure_a_web_form/index.html
@@ -101,12 +101,12 @@ original_slug: Learn/HTML/Forms/How_to_structure_an_HTML_form
<pre class="brush:html;">&lt;form&gt;
  &lt;p&gt;
+   &lt;input type="checkbox" id="taste_1" name="taste_cherry" value="1"&gt;
&lt;label for="taste_1"&gt;I like cherry&lt;/label&gt;
-    &lt;input type="checkbox" id="taste_1" name="taste_cherry" value="1"&gt;
  &lt;/p&gt;
  &lt;p&gt;
+   &lt;input type="checkbox" id="taste_2" name="taste_banana" value="2"&gt;
    &lt;label for="taste_2"&gt;I like banana&lt;/label&gt;
-    &lt;input type="checkbox" id="taste_2" name="taste_banana" value="2"&gt;
  &lt;/p&gt;
&lt;/form&gt;</pre>