I have the following code
<!DOCTYPE html>
<html>
<head>
<title>site title</title>
</head>
<body>
</body>
</html>
firefox inform that "stray start tag <html>
" , "stray start tag <head>
" , "stray end tag <head>
" and "An body start tag seen but an element of the same type was already open"
how can I solve this?
please help
When I open the page in Chrome, I get this output:

There is something strange going on in your supplied code, like unprintable characters. When I type it manually, there is no problem:
<!DOCTYPE HTML>
<html>
<head>
<title>Test</title>
</head>
<body>
</body>
</html>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.