TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: New things I learnt about HTML. Do you know anything more?

1 pointsby herol3oy2 months ago
I had an intro web development workshop. First session was only about HTML. I learnt 3 things I did not know about HTML:<p>1. Footers don&#x27;t necessarily have to appear at the end of a section, though they usually do [0]<p>2. A head element&#x27;s start tag can be omitted if the element is empty, or if the first thing inside the head element is an element. A head element&#x27;s end tag can be omitted if the head element is not immediately followed by ASCII whitespace or a comment [1]<p>3. Self-closing tags (&lt;tag &#x2F;&gt;) do not exist in HTML [2]<p>Please let me know if you know something else.<p>[0], [1] whatwg.org [2] developer.mozilla.org

no comments

no comments