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/document/writeln | |
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/document/writeln')
-rw-r--r-- | files/ru/web/api/document/writeln/index.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/files/ru/web/api/document/writeln/index.html b/files/ru/web/api/document/writeln/index.html index adc4669261..a10ec57f83 100644 --- a/files/ru/web/api/document/writeln/index.html +++ b/files/ru/web/api/document/writeln/index.html @@ -7,28 +7,28 @@ translation_of: Web/API/Document/writeln <p>Выводит в документ строку со знаком перевода каретки в конце.</p> -<h2 id="Syntax" name="Syntax">Синтаксис</h2> +<h2 id="Syntax">Синтаксис</h2> <pre class="eval">document.writeln(<em>line</em>); </pre> -<h3 id="Parameters" name="Parameters">Параметры</h3> +<h3 id="Parameters">Параметры</h3> <ul> <li><code>line</code> - строка содержащая текст. </li> </ul> -<h2 id="Example" name="Example">Пример</h2> +<h2 id="Example">Пример</h2> <pre>document.writeln("<p>введите пароль:</p>"); </pre> -<h2 id="Notes" name="Notes">Примечания</h2> +<h2 id="Notes">Примечания</h2> <p><strong>document.writeln</strong> тоже самое, что <a href="/en/DOM/document.write" title="en/DOM/document.write">document.write</a> но добавляет знак новой строки.</p> <div class="note"><strong>Примечание:</strong> <strong>document.writeln</strong> (как и <strong>document.write</strong>) не работает с XHTML документами (вы получите ошибку "Operation is not supported" (<code>NS_ERROR_DOM_NOT_SUPPORTED_ERR</code>) в консоли ошибок). Происходит это, если открыть локальный файл с расширением .xhtml или документ с MIME типом application/xhtml+xml. Больше информации доступно на <a class="external" href="http://www.w3.org/MarkUp/2004/xhtml-faq#docwrite">W3C XHTML FAQ</a>.</div> -<h2 id="Specification" name="Specification">Спецификации</h2> +<h2 id="Specification">Спецификации</h2> <p><a class="external" href="http://www.w3.org/TR/2000/WD-DOM-Level-2-HTML-20001113/html.html#ID-35318390">writeln </a></p> |