我正在使用html5和一些css3构建移动网站,我一直关注的说明建议包括运行Windows Mobile 7的任何人的以下代码:
<!--[if (gt IEMobile 7)|!(IEMobile)]><!--><html class="no-js"><!--<![endif]-->
当我这样做时,虽然当我尝试验证页面时出现以下错误:
Error Line 9, Column 63: Stray end tag html.
<!--[if (gt IEMobile 7)|!(IEMobile)]><!--><html class="no-js"><!--<![endif]-->
✉
Error Line 9, Column 63: Cannot recover after last error. Any further errors will be ignored.
<!--[if (gt IEMobile 7)|!(IEMobile)]><!--><html class="no-js"><!--<![endif]-->
验证器是否正确或代码是否正确?如果验证器是正确的,那么编写此异常的正确方法是什么?
感谢。
感谢。