diff options
Diffstat (limited to 'files/he/web/api/document/write/index.html')
| -rw-r--r-- | files/he/web/api/document/write/index.html | 82 |
1 files changed, 0 insertions, 82 deletions
diff --git a/files/he/web/api/document/write/index.html b/files/he/web/api/document/write/index.html deleted file mode 100644 index 8c497d548c..0000000000 --- a/files/he/web/api/document/write/index.html +++ /dev/null @@ -1,82 +0,0 @@ ---- -title: 'Document.write():' -slug: Web/API/Document/write -translation_of: Web/API/Document/write ---- -<div>{{ ApiRef("DOM") }}</div> - -<p><strong><code>()Document.write</code></strong> - כותב מחרוזת טקסט אל גוף מסמך HTML.</p> - -<h2 id="תחביר">תחביר</h2> - -<pre class="brush: js">document.write(<em>markup</em>); -</pre> - -<h3 id="פרמטרים">פרמטרים</h3> - -<dl> - <dt><code>markup</code></dt> - <dd>מחרוזת המכילה את הטקסט שיופיע במסמך.</dd> -</dl> - -<h3 id="דוגמה">דוגמה</h3> - -<pre class="brush: html"><html> - -<head> - <title>write example</title> - - <script> - function newContent() { - alert("load new content"); - document.open(); - document.write("<h1>Out with the old - in with the new!</h1>"); - document.close(); - } - </script> -</head> - -<body onload="newContent();"> - <p>Some original document content.</p> -</body> - -</html> - -</pre> - -<h2 id="מפרט">מפרט</h2> - -<table class="standard-table"> - <thead> - <tr> - <th scope="col">Specification</th> - <th scope="col">Status</th> - <th scope="col">Comment</th> - </tr> - </thead> - <tbody> - <tr> - <td>{{SpecName("HTML WHATWG", "#dom-document-write", "document.write(...)")}}</td> - <td>{{Spec2("HTML WHATWG")}}</td> - <td> </td> - </tr> - <tr> - <td>{{SpecName("DOM2 HTML", "html.html#ID-75233634", "document.write(...)")}}</td> - <td>{{Spec2("DOM2 HTML")}}</td> - <td> </td> - </tr> - </tbody> -</table> - -<h2 id="תאימות_דפדפן">תאימות דפדפן</h2> - - - -<p>{{Compat("api.Document.write")}}</p> - -<h2 id="ראה_גם">ראה גם</h2> - -<ul> - <li>{{ domxref("element.innerHTML") }}</li> - <li>{{ domxref("document.createElement()") }}</li> -</ul> |
