HTML Updates
HTML Updates With 2025 here at last, HTML has received a plethora of updates that we as developers can sink our teeth into to improve our skills. A group of tags can now be used in a manner similar to an accordion layout, meaning that only one tag’s summary may be opened at a time. In addition to this, any non-summary content can now be styled with CSS using the Sub Selector ::details-content. Speaking of styling your elements, tags can now have their tags styled through the ::picker(select) CSS Selector. Additionally, your tags can also be separated horizontally through the tag. Back on the purely HTML side of things, your checkbox may now be toggled when given the switch attribute, providing further accessibility. In terms of your text-typed inputs, they may now be wrapped in the tags to provide future developers an easier time reading legacy code. After having been removed from browsers for years, the Media attribute is once again usable for tags. In case you don’t remember, the use of this attribute allows for you to make your video files as responsive as your img files. In terms of updates on the server-side, the Declarative Shadow DOM now allows for better use of Web Components without the need for Javascript. For the longest time, the use of Javascript rendering was the only way for a developer to have a Web Component use the Shadow DOM, and leaving the Component without the Server-Side Rendering needed for faster performance, resilience, and hosting options. Now all you must do is place the shadowrootmode attribute to their elements and breathe a sigh of relief. With all this and more, the future is looking bright for HTML.
HTML Updates
With 2025 here at last, HTML has received a plethora of updates that we as developers can sink our teeth into to improve our skills.
A group of tags can now be used in a manner similar to an accordion layout, meaning that only one tag’s summary may be opened at a time. In addition to this, any non-summary content can now be styled with CSS using the Sub Selector ::details-content.
Speaking of styling your elements, tags can now have their tags styled through the ::picker(select) CSS Selector. Additionally, your tags can also be separated horizontally through the tag.
Back on the purely HTML side of things, your checkbox may now be toggled when given the switch attribute, providing further accessibility. In terms of your text-typed inputs, they may now be wrapped in the tags to provide future developers an easier time reading legacy code.
After having been removed from browsers for years, the Media attribute is once again usable for tags. In case you don’t remember, the use of this attribute allows for you to make your video files as responsive as your img files.
In terms of updates on the server-side, the Declarative Shadow DOM now allows for better use of Web Components without the need for Javascript. For the longest time, the use of Javascript rendering was the only way for a developer to have a Web Component use the Shadow DOM, and leaving the Component without the Server-Side Rendering needed for faster performance, resilience, and hosting options. Now all you must do is place the shadowrootmode attribute to their elements and breathe a sigh of relief.
With all this and more, the future is looking bright for HTML.