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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

What Beautiful HTML Code Looks Like

7 点作者 malte超过 15 年前

2 条评论

pbhjpbhj超过 15 年前
Interested that he's using explicit closed tags on eg &#60;img /&#62; which in html is not required. Perhaps "/" are pretty?<p><i>This is the same as in HTML4. However, due to the widespread attempts to use XHTML1, there are a significant number of pages using the trailing slash. Because of this, the trailing slash syntax has been permitted on void elements in HTML in order to ease migration from XHTML1 to HTML5. </i> ( <a href="http://wiki.whatwg.org/wiki/FAQ#Should_I_close_empty_elements_with_.2F.3E_or_.3E.3F" rel="nofollow">http://wiki.whatwg.org/wiki/FAQ#Should_I_close_empty_element...</a> )
评论 #933271 未加载
KevBurnsJr超过 15 年前
I wouldn't call &#60;ul class="col"&#62; very semantic. At all.<p>&#60;ul class="people"&#62; maybe.