How to use exported webflow code in ReactJS/NextJS?

I have exported my webflow code to my NextJS app, however a lot of the HTML tags show up as errors (it says most of them don’t have closing tags).

Does anyone have any idea why this is and what I can do to solve this? NOTE: The Webflow code is relatively simple with no animations, etc.