有没有有效的 html css 规范化器?

发布于 2024-07-09 06:01:09 字数 1560 浏览 3 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

枕花眠 2024-07-16 06:01:09

好吧,我不能肯定地说这对所描述的所有内容都“有效”,但 Tidy 所做的不仅仅是清理标签。

请参阅 HTML Tidy 配置选项,尤其是与 Microsoft Word 相关的选项(例如 word-2000)

Well, I can't say definitively that this "works" for everything described, but Tidy does a bit more than clean up tags.

See the HTML Tidy Configuration Options, especially those relating to Microsoft Word (like word-2000)

浅唱ヾ落雨殇 2024-07-16 06:01:09

如果您想知道自己是否完成了合理的工作,您应该尝试这些测试 (使用像 Tidy 这样的东西你可能会发现你没有完成合理的工作)。

一些选项:

我看来,任何使用正则表达式且不解析标记的内容都会受到怀疑(而且实现起来太复杂)。

If you want to know if you've done a reasonable job, you should try these tests (using something like Tidy you'll probably find you haven't done a reasonable job).

Some options:

Anything that uses regular expressions and doesn't parse the markup would be suspect in my mind (and just too complicated to implement).

月牙弯弯 2024-07-16 06:01:09

老问题,但有些人可能仍然觉得这很有用。 查看 http://necolas.github.com/normalize.css/。 效果很好!

Old question but some people might still find this useful. Check out http://necolas.github.com/normalize.css/. It works well!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文