TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Did you know: Some closing HTML tags are optional?

4 点作者 Woods3694 个月前

3 条评论

theandrewbailey4 个月前
Useful for code-golfing HTML, but the complexity of rules sounds like a maintenance nightmare for professional use.
评论 #42727168 未加载
metaloha4 个月前
I've never dived (dove? doven?) into the output of an HTML minimizer, but I assumed this was one of the things it would do - remove all optional tags while retaining the same DOM tree output.
beardyw4 个月前
HTML was intended at first to be hand crafted by scientists. That it should be forgiving is a good thing, because who wants a "this page has imperfect html" message.