quotes within html attribute
how does the browser know which quote ends the attribute value?
3 Replies
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
it uses a lexer, parsing the DOM's HTML string/body/elements/attributes/strings
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...