I see many issues, but I cannot tell if its simple copy paste issues or other
There is no reason for it to ever have red under text, for instance your <br>, sure its not closed, but if its surrounded by proper quotes its just a string so something is wrong.
Then I see images.. i cannot tell if thats on purpose or not but I would remove those.
You said only having a couple still fails, but a couple what?
Can you pair it down to the simplest (like 1 answer), with all your HTML concats. If you can do that and paste the in that will be super helpful but the above has too many holes for my eyes to try to just see what's wrong, but I did OCR it out and yeah... need a clean, or what you believe is clean and short.
once we fix one, you adding them back in one at a time will easily show you what you are breaking.