Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我使用 Tidy 清理并使 HTML 文件符合 HTML/XHTML。但是,输出包含非标准属性值,例如:
<table id='abc'>...
或者
<input type='button' />
(看单引号)。如何配置 Tidy 以提供严格的 XHTML 输出?先感谢您!
这确实是一个有效的 XHTML。您可以为属性值添加双引号或单引号。