PodRocket - A web development podcast from LogRocket

Relatively new things you should know about HTML with Chris Coyier (Repeat)

May 29, 2025
Chris Coyier, co-founder of CodePen and a seasoned web developer, dives into the evolving world of HTML as we approach 2025. He highlights HTML's slow evolution compared to CSS and JavaScript while emphasizing its foundational stability. Discussions include the importance of backward compatibility, the exciting prospects of declarative shadow DOM for web components, and how the 'inert' attribute can enhance accessibility. Coyier also touches on integrating web components with popular frameworks like React, showcasing the future of efficient and user-friendly web development.
Ask episode
AI Snips
Chapters
Transcript
Episode notes
INSIGHT

Why HTML Evolves Slowly

  • HTML evolves more slowly than CSS or JavaScript due to its foundational role and backward compatibility demands.
  • This slow pace protects the web's vast existing content from breaking with new changes.
INSIGHT

HTML's Resiliency to Errors

  • HTML is very forgiving and resilient, continuing to render despite errors or unknown elements.
  • New tags like <search> will degrade gracefully in older browsers, not breaking the site.
ADVICE

Using ::details-content Pseudo-element

  • Use the CSS pseudo-element ::details-content to select everything inside a <details> except the <summary>.
  • This makes styling and animating details elements easier and more precise.
Get the Snipd Podcast app to discover more snips from this episode
Get the app