【发布时间】:2019-01-15 05:19:24
【问题描述】:
在尝试一组简单 HIT 的测试批次时,我发现提交按钮不起作用。然后我注意到,在查看 Layout ID 时,它说 There was an error parsing the HTML5 data in your hit template. 这只是我根据现有模板手工构建的快速 HIT,但我想我一定是在某个地方搞砸了 HTML,因为我是通过手。
当我尝试将我的 HIT 源复制/粘贴到 W3 验证器中时,它所抱怨的并不是我接触的模板的一部分,而且主要是因为我的源不是完整的HTML 文档,因为 MTurk 将包装它:
Warning: Consider adding a lang attribute to the html start tag to declare the language of this document.
Error: Start tag seen without seeing a doctype first. Expected <!DOCTYPE html>.
Error: Element head is missing a required instance of child element title.
Warning: The type attribute for the style element is not needed and should be omitted.
是否有一种简单的方法可以访问 HIT 的完整包装 HTML 以进行验证?或者一些更好的方法来解决我的 HTML。
【问题讨论】:
标签: html mechanicalturk html5-validation