将代码从怪癖模式更新为XHTML 1.0 Strict - 在哪里进行验证? [英] Updating code from Quirks Mode to XHTML 1.0 Strict - Where to Validate?
本文介绍了将代码从怪癖模式更新为XHTML 1.0 Strict - 在哪里进行验证?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我用DTD编写了一些HTML代码(通过quirks模式呈现)。抱歉。现在我想让它在XHTML Strict 1.0中验证,所以我添加了DTD标记
我已经执行这些步骤以使代码干净。
- 已验证的正确嵌套
- 已验证的正确封闭的标签
- 已验证的空标签正确关闭
- 已验证的小写字母
- li>
我可以在哪里验证代码?
解决方案 div>
如果你想验证你的html,请使用 http://validator.w3.org/
I wrote some HTML code with out a DTD (rendered via quirks mode). Sorry. Now I want to have it validated in XHTML Strict 1.0 so I added the DTD tag
I've carried these steps to make the code "clean".
- Verified proper nesting
- Verified proper closure of tags
- Verified proper closure of empty tags
- Verified lower case
- Verified single root element
Where can I go to validate the code?
解决方案
If you wish to validate your html, use http://validator.w3.org/
这篇关于将代码从怪癖模式更新为XHTML 1.0 Strict - 在哪里进行验证?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文