Skip to content
TopicTracker
From HackerNewsView original
TranslationTranslation

You don't know HTML Lists

The article explores lesser-known features and semantic nuances of HTML list elements (ul, ol, dl), highlighting attributes like reversed, start, and value for ordered lists, and explaining proper use cases for description lists. It emphasizes writing accessible, meaningful markup beyond basic list usage.

Related stories

  • A developer replaced a JavaScript web component that handled icon resizing on a static site with multiple pre-rendered HTML pages, each serving icons at a different size. By using navigation between pages instead of client-side JS, the site gained CSS view transitions for free, simplified maintenance, and eliminated duplicated templating logic.