aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/html/element/form/index.html
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2021-06-17 13:35:36 -0400
committerIrvin <irvinfly@gmail.com>2021-06-18 01:41:27 +0800
commitd490e42ffe823173477b841ec397105bd06cb336 (patch)
tree0c0a208e8e7cffa0f37cbaa2b463f4448ba9edc9 /files/zh-cn/web/html/element/form/index.html
parent64471936f0c8ee43b7a35c4a020c6435e64dfcaf (diff)
downloadtranslated-content-d490e42ffe823173477b841ec397105bd06cb336.tar.gz
translated-content-d490e42ffe823173477b841ec397105bd06cb336.tar.bz2
translated-content-d490e42ffe823173477b841ec397105bd06cb336.zip
rid of $samples iframes
Diffstat (limited to 'files/zh-cn/web/html/element/form/index.html')
-rw-r--r--files/zh-cn/web/html/element/form/index.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/files/zh-cn/web/html/element/form/index.html b/files/zh-cn/web/html/element/form/index.html
index e7c0e43048..14308b9497 100644
--- a/files/zh-cn/web/html/element/form/index.html
+++ b/files/zh-cn/web/html/element/form/index.html
@@ -135,11 +135,11 @@ translation_of: Web/HTML/Element/form
</dd>
</dl>
-<h2 id="Examples" name="Examples">示例</h2>
+<h2 id="Examples">示例</h2>
<h3 id="HTML">HTML</h3>
-<pre class="notranslate">&lt;!-- Form which will send a GET request to the current URL --&gt;
+<pre class="brush: html">&lt;!-- Form which will send a GET request to the current URL --&gt;
&lt;form&gt;
&lt;label&gt;Name:
&lt;input name="submitted-name" autocomplete="name"&gt;
@@ -163,7 +163,7 @@ translation_of: Web/HTML/Element/form
&lt;/fieldset&gt;
&lt;/form&gt;</pre>
-<p><iframe class="live-sample-frame sample-code-frame" frameborder="0" height="110" id="frame_Examples" src="https://mdn.mozillademos.org/en-US/docs/Web/HTML/Element/form$samples/Examples?revision=1623519" width="100%"></iframe></p>
+<p>{{ EmbedLiveSample('Examples', '100%', 110) }}</p>
<h2 id="规范">规范</h2>