quotes within html attribute

how does the browser know which quote ends the attribute value?
No description
3 Replies
Jochem
Jochem8mo ago
one opens, the next closes I think the ones inside that highlight are probably not actual double quotes but the fancy opposing quotationmarks or something, but it's impossible to tell from a screenshot
reddogg476
reddogg4768mo ago
it uses a lexer, parsing the DOM's HTML string/body/elements/attributes/strings
reddogg476
reddogg4768mo ago
Stack Overflow
How does a parser (for example, HTML) work?
For argument's sake lets assume a HTML parser. I've read that it tokenizes everything first, and then parses it. What does tokenize mean? Does the parser read every character each, building up a...
Want results from more Discord servers?
Add your server