aboutusesTILblog

Today I learned about...
html

Back to all tags

html07.12.2023

SVG foreignObject

TIL that you can inject other non SVG XML into an SVG document. From our context, that means we can inject some HTML elements in the SVG. I’ve used it once at work and it was kind of nice 😃.

Check it out

html27.07.2022

HTML attribute - inert

TLDR; this property, when applied to an html element will make it so that the element ignores user input (this also applies to screen readers).

Check it out