Skip to main content
","learningResourceType":"Practice problem","educationalLevel":"hard","about":"HTML","teaches":"parsing and tokenization states","url":"https://journeyuncommon.com/quiz/question/e54845a2-5d0c-4948-808e-e98c5f04d913","inLanguage":"en","isAccessibleForFree":true,"provider":{"@id":"https://journeyuncommon.com/#organization"},"isPartOf":{"@type":"WebSite","@id":"https://journeyuncommon.com/#website","name":"Journey Uncommon","url":"https://journeyuncommon.com"}}
Journey Uncommon Logo
JourneyUncommon
hardHTMLparsing and tokenization statesSingle-choice MCQ

The tokenizer is in the 'script data' state and meets '</scr'. The next characters are not the rest of 'script'. According to the script-data end-tag machinery, what governs whether '</' starts closing the element?

<script>a</scr ipt>b</script>