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

13.2.6.4.20 The "after after body" insertion mode

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

13.2.6.4.20 The "after after body" insertion mode

When the user agent is to apply the rules for the "after after body" insertion mode, the user agent must handle the token as follows:

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

Insert a comment given (the Document object, null).

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

Insert a processing instruction given (the Document object, null).

Токен DOCTYPE

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

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

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

Токен конца файла

Останавливает синтаксический анализ.

Anything else

Parse error. Switch the insertion mode to "in body" and reprocess the token.