

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.
AI Snips
Chapters
Transcript
Episode notes
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.
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.
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.