aboutsummaryrefslogtreecommitdiff
path: root/files/es/web/api/document/clear/index.html
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:41:45 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:41:45 -0500
commit1109132f09d75da9a28b649c7677bb6ce07c40c0 (patch)
tree0dd8b084480983cf9f9680e8aedb92782a921b13 /files/es/web/api/document/clear/index.html
parent4b1a9203c547c019fc5398082ae19a3f3d4c3efe (diff)
downloadtranslated-content-1109132f09d75da9a28b649c7677bb6ce07c40c0.tar.gz
translated-content-1109132f09d75da9a28b649c7677bb6ce07c40c0.tar.bz2
translated-content-1109132f09d75da9a28b649c7677bb6ce07c40c0.zip
initial commit
Diffstat (limited to 'files/es/web/api/document/clear/index.html')
-rw-r--r--files/es/web/api/document/clear/index.html31
1 files changed, 31 insertions, 0 deletions
diff --git a/files/es/web/api/document/clear/index.html b/files/es/web/api/document/clear/index.html
new file mode 100644
index 0000000000..6208e48885
--- /dev/null
+++ b/files/es/web/api/document/clear/index.html
@@ -0,0 +1,31 @@
+---
+title: Document.clear()
+slug: Web/API/Document/clear
+tags:
+ - API
+ - Document
+ - HTML DOM
+ - Method
+ - NeedsCompatTable
+ - NeedsExample
+ - NeedsMarkupWork
+ - NeedsSpectTable
+ - Referencia
+translation_of: Web/API/Document/clear
+---
+<p>{{APIRef("DOM")}}{{ Deprecated_header() }}</p>
+
+<p>Método que se usa en versiones anterior a las 1.0 de Mozilla para para limpiar el documento completo.</p>
+
+<p>No hace nada en versiones más recientes basado en Mozilla así como en Internet Explorer y Netscape 4.</p>
+
+<h2 id="Síntaxis">Síntaxis</h2>
+
+<pre class="eval">document.clear()
+</pre>
+
+<h2 id="Especificación">Especificación</h2>
+
+<ul>
+ <li><a class="external" href="http://www.whatwg.org/html/#dom-document-clear" title="http://www.whatwg.org/html/#dom-document-clear">HTML5</a></li>
+</ul>