code: function startTagInHeadNoScript(p, token) {
      const tn = token.tagName;
  
      if (tn === $.HTML) {
          startTagInBody(p, token);
      } else if (
          tn === $.BASEFONT ||
          tn === $.BGSOUND ||
          tn === $.HEAD ||
          tn === $.LINK ||
          tn === $.META ||
          tn === $.NOFRAMES ||
          tn === $.STYLE
      ) {
          startTagInHead(p, token);
      } else if (tn === $.NOSCRIPT) {
          p._err(ERR.nestedNoscriptInHead);
      } else {
          tokenInHeadNoScript(p, token);
      }
  }
docs: The "in head no script" insertion mode ------------------------------------------------------------------