[英]data-role=“form” gives error in W3C Validator
A friend of mine has a website with this doctype: 我的一个朋友的网站具有以下文档类型:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
I know it is an old doctype. 我知道这是旧的文档类型。
The problem is, that on the contact page it gives a Data-Role error in the W3C Validator. 问题是,在联系页面上,它在W3C验证程序中给出了Data-Role错误。
The contact form is from 123contactform. 联系表格来自123contactform。 I already contacted them, but they only come up with the solution to change the doctype.
我已经联系了他们,但是他们只是想出解决方案来更改doctype。 For now I don't want to do that, because then I get a lot of other errors, that I have to fix.
现在,我不想这样做,因为那样的话,我会遇到很多其他错误,必须修复。
How can I change the Data-Role error? 如何更改数据角色错误? Here is the error in the W3C Validator: https://validator.w3.org/check?uri=http%3A%2F%2Fwww.maryderekboedelopruiming.nl%2Fcontact.htm&charset=%28detect+automatically%29&doctype=Inline&group=0
这是W3C验证程序中的错误: https : //validator.w3.org/check? uri =http% 3A%2F%2Fwww.maryderekboedelopruiming.nl%2Fcontact.htm & charset =% 28detect+automatically%29 & doctype = Inline & group =0
I decided to change the doctyp. 我决定更改doctyp。 All is well now.
现在一切都好。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.