-1

I'm running my work through the validator and I get this error for the first line.

delimiter ">" invalid: only minimum literal and parameter separators are allowed

The error is apparently on the > at the end of this

<!DOCTYPE HTML PUBLIC>

I don't wanna post too much of my code, sorry.

Edit: I think I forgot to change the HTML thing to HTML 5 in the validator. Sorry, I herp and derp.

4

2 回答 2

1

Public 对 HTML5 无效,删除它并且它应该验证(至少该行!:))。

于 2013-07-04T12:47:18.293 回答
1

在这里您可以找到 html 文档的标头定义

http://www.w3.org/QA/2002/04/valid-dtd-list.html

对于 HTML5,它只是

<!DOCTYPE HTML>
于 2013-07-04T12:47:49.827 回答