quotes within html attribute

how does the browser know which quote ends the attribute value?
No description
Jochem19d 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
reddogg47619d ago
it uses a lexer, parsing the DOM's HTML string/body/elements/attributes/strings
reddogg47619d 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...