diff options
| author | Alexey Pyltsyn <lex61rus@gmail.com> | 2021-10-20 13:28:52 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-20 13:28:52 +0300 |
| commit | 1386fed7d38652d5848d315927e7e23a66cffd13 (patch) | |
| tree | eb4b9adfec3f46c77304a1b9461d44357c8164c8 /files/ru/web/api/window/getselection | |
| parent | b0f32a46245b1033098a5a9826a7818fa4e65dde (diff) | |
| download | translated-content-1386fed7d38652d5848d315927e7e23a66cffd13.tar.gz translated-content-1386fed7d38652d5848d315927e7e23a66cffd13.tar.bz2 translated-content-1386fed7d38652d5848d315927e7e23a66cffd13.zip | |
[RU] Remove `name` attribute from headings (#2788)
Diffstat (limited to 'files/ru/web/api/window/getselection')
| -rw-r--r-- | files/ru/web/api/window/getselection/index.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/files/ru/web/api/window/getselection/index.html b/files/ru/web/api/window/getselection/index.html index e7c7fa0ea5..bbfeac0912 100644 --- a/files/ru/web/api/window/getselection/index.html +++ b/files/ru/web/api/window/getselection/index.html @@ -5,11 +5,11 @@ translation_of: Web/API/Window/getSelection --- <div>{{ ApiRef() }}</div> -<h2 id="Summary" name="Summary">Коротко</h2> +<h2 id="Summary">Коротко</h2> <p>Метод возвращает объект {{domxref("Selection")}}, представленный в виде диапазона текста, который пользователь выделил на странице.</p> -<h2 id="Syntax" name="Syntax">Синтаксис</h2> +<h2 id="Syntax">Синтаксис</h2> <pre class="syntaxbox"><em>selection</em> = <em>window</em>.getSelection();</pre> @@ -19,7 +19,7 @@ translation_of: Web/API/Window/getSelection <p>При добавлении в параметр пустую строку или воспользовавшись методом {{jsxref("Selection.toString()")}} вам вернут строку, которую выделил пользователь.</p> -<h2 id="Example" name="Example">Пример</h2> +<h2 id="Example">Пример</h2> <pre class="brush:js">function foo() { var selObj = window.getSelection(); @@ -28,7 +28,7 @@ translation_of: Web/API/Window/getSelection // вернёт диапазон Range }</pre> -<h2 id="Notes" name="Notes">Примечания</h2> +<h2 id="Notes">Примечания</h2> <h3 id="String_representation_of_the_Selection_object">String representation of the Selection object</h3> @@ -79,9 +79,9 @@ translation_of: Web/API/Window/getSelection <p>{{Compat("api.Window.getSelection")}}</p> -<h2 id="See_also" name="See_also"></h2> +<h2 id="See_also"></h2> -<h2 id="See_also" name="See_also">Смотрите также</h2> +<h2 id="See_also">Смотрите также</h2> <ul> <li><a href="/en-US/docs/Web/API/Selection_API">Selection API</a></li> |
