the reason HTML seems to work even if it has syntax errors is due to browser having built in ways to parse the code meaning it will still show but most likely look way different then you would want.
the code may turn pink due to syntax errors
I'm guessing you want a yes or no... I think yes.
Short answer, you don't. Modern Processors are made up of billions of transistors and are built in multi million dollar factories that have equipment just for that purpose.
Answer:
missing quotation marks around a string literal