[英]Stray start tag Error
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" firefox告知“杂散开始标签<html>
”,“杂散开始标签<head>
”,“杂散结束标签<head>
”和“看到了一个正文开始标签,但是相同类型的元素已经打开”
how can I solve this? 我该如何解决?
please help 请帮忙
When I open the page in Chrome, I get this output: 当我在Chrome中打开页面时,得到以下输出:
 
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>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.