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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: What's a minimal subset of HTML that works everywhere?

2 点作者 humanarity大约 10 年前
Please post a set of tags that is guaranteed to work on +everything from the early days of the web, with some justification if it&#x27;s a contentious case. Imagine no CSS, and no JavaScript. It&#x27;s okay if it looks like a BBS (or prior), that&#x27;s the point.<p>Your subset must likely work on differently-smart phones, and affordable smartphones popular in super-growth economic regions. You may also find it easier to post tags that can&#x27;t be supported, rather than those that can, and assume that deprecated tags (like &#x27;blink&#x27;) are excluded by default. This is also ok. If something can be left out (its markup quality can be reproduced by another tag or combination) then it works to leave it out. This is the minimum viable subset of HTML that works everywhere. You might call it HTML 0, or HTMML (min) but maybe it&#x27;s closer to HTML 1.618 -- an elegantly proportioned HTML with not an inch extra anywhere.<p>Finally, it&#x27;s less important that it be &quot;standards based&quot; than that it works on the majority of devices. Remember when an Apple ][ rendered HN? That should be achievable with your subset. And remember &quot;works&quot; doesn&#x27;t here mean pretty. It just means : displays information in a comprehensible way with the minimum amount of tags. All serious submissions appreciated -- it&#x27;s not longer April 1 in my tz. :)<p>+feel free to specify your everything. It&#x27;s probably okay as long as it&#x27;s reasonably inclusive.

2 条评论

logn大约 10 年前
Conveniently, the first webpage ever made has a manual: <a href="http:&#x2F;&#x2F;info.cern.ch&#x2F;hypertext&#x2F;WWW&#x2F;MarkUp&#x2F;Tags.html" rel="nofollow">http:&#x2F;&#x2F;info.cern.ch&#x2F;hypertext&#x2F;WWW&#x2F;MarkUp&#x2F;Tags.html</a><p>Full site here: <a href="http:&#x2F;&#x2F;info.cern.ch&#x2F;hypertext&#x2F;WWW&#x2F;TheProject.html" rel="nofollow">http:&#x2F;&#x2F;info.cern.ch&#x2F;hypertext&#x2F;WWW&#x2F;TheProject.html</a>
评论 #9327590 未加载
bjourne大约 10 年前
It&#x27;s very hard or impossible to come up with such a tag set. The number of existing web renderers, all with their own quirks and bugs, are much to big. Some tag might work in Opera 2.0 but not if you nest it to deeply. img tags doesn&#x27;t &quot;work&quot; in text browsers and unicode support has historically been spotty everywhere.
评论 #9327593 未加载