Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Stray start tag script

People also ask

What is stray start tag script?

A stray start tag <html> has been found in the document. As this tag defines the start of the whole HTML document, it should appear only once. A <style> start tag has been found in an unexpected place in the document structure.

How do you fix start tag body seen but an element of the same type was already open?

Check the document structure to ensure there are no <meta> tags outside the head section. A common cause of this issue is having a duplicated, out of place <head>... </head> section. Ensure that this section appears in its proper place and is the only container for <meta> tags.


Validator gives that error when you've something outside </body>.

Just move your script tags inside <body>, or keep them in <head>.