Web Platform Atlas
EN⚡RUUA⚡DE⚡FR⚡ES⚡PL⚡PT⚡ZH⚡JA⚡
Каталог / HTML / The "in head noscript" insertion mode

13.2.6.4.5 The "in head noscript" insertion mode

Статический предпросмотр (RU): для MDN, WPT, глоссария и BYOK-перевода откройте интерактивный Атлас.
⚡ Открыть главу в Атласе

13.2.6.4.5 The "in head noscript" insertion mode

When the user agent is to apply the rules for the "in head noscript" insertion mode, the user agent must handle the token as follows:

Токен DOCTYPE

Ошибка разбора. Игнорировать токен.

Начальный тег с именем тега "html"

Process the token using the rules for the "in body" insertion mode.

An end tag whose tag name is "noscript"

Pop the current node (which will be a noscript element) from the stack of open elements; the new current node will be a head element.

Switch the insertion mode to "in head".

Символьный токен, являющийся одним из U+0009 CHARACTER TABULATION, U+000A LINE FEED (LF), U+000C FORM FEED (FF), U+000D CARRIAGE RETURN (CR) или U+0020 SPACE

Токен комментария

Токен инструкции по обработке

A start tag whose tag name is one of: "basefont", "bgsound", "link", "meta", "noframes", "style"

Обработать токен, используя правила для режима вставки "внутри head".

Закрывающий тег, имя тега которого — "br"

Act as described in the "anything else" entry below.

A start tag whose tag name is one of: "head", "noscript"

Любой другой закрывающий тег

Ошибка разбора. Игнорировать токен.

Anything else

Ошибка разбора.

Pop the current node (which will be a noscript element) from the stack of open elements; the new current node will be a head element.

Switch the insertion mode to "in head".

Повторно обработать токен.