aboutsummaryrefslogtreecommitdiff
path: root/files/ru/web/api/selection/tostring/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/ru/web/api/selection/tostring/index.html')
-rw-r--r--files/ru/web/api/selection/tostring/index.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/files/ru/web/api/selection/tostring/index.html b/files/ru/web/api/selection/tostring/index.html
index 0e1dede357..d8f6bb1619 100644
--- a/files/ru/web/api/selection/tostring/index.html
+++ b/files/ru/web/api/selection/tostring/index.html
@@ -11,7 +11,7 @@ translation_of: Web/API/Selection/toString
<p>Метод <strong><code>Selection.toString()</code></strong> возвращает строку, содержащуюся в выделенном объекте, т.е. выделенный текст.</p>
-<h2 id="Syntax" name="Syntax">Syntax</h2>
+<h2 id="Syntax">Syntax</h2>
<pre class="syntaxbox"><em>str</em> =<em> sel</em>.toString()
</pre>
@@ -22,11 +22,11 @@ translation_of: Web/API/Selection/toString
<li><em><code>str</code></em> -- это строка, содержащаяся в выделении.</li>
</ul>
-<h3 id="Parameters" name="Parameters">Parameters</h3>
+<h3 id="Parameters">Parameters</h3>
<p><em>None (отсутствуют).</em></p>
-<h2 id="Description" name="Description">Description</h2>
+<h2 id="Description">Description</h2>
<p>Этот метод возвращает выделенный текст.</p>
@@ -53,13 +53,13 @@ alert(window.getSelection().toString()) // What is actually being effectively c
</tbody>
</table>
-<h2 id="Browser_compatibility" name="Browser_compatibility">Browser compatibility</h2>
+<h2 id="Browser_compatibility">Browser compatibility</h2>
<p>{{Compat("api.Selection.toString")}}</p>
-<h2 id="See_also" name="See_also">See also</h2>
+<h2 id="See_also">See also</h2>
<ul>
<li>{{domxref("Selection")}}, the interface it belongs to.</li>