The markup i highlighted in red should be in the <head> ( not the body ) which includes the favicons.
This thing happens when broken code is added to the site.
Have you used any plugins, GP Elements, custom functions or made edits to the theme to insert code into the head ?
Yes, I am using Insert header and footer plugin to insert Google Search Console, Google Analytics, and our Ad partner code to the head section of the website.
I would suspect that one of those scripts is broken eg. missing a closing </script> tag.
In the image i attached above it will most likely either be the 1 before the <body> tag or the one after it.