On xlink:href being deprecated in SVG

A reader wrote in to tell me we should update our articles about SVG elements. The attribute we always use for them, xlink:href, is deprecated. Indeed, MDN says:
That’s pretty strong language, hence the reader’s warning. This is a bit surprising to me, as the SVG 2 thing got a little weird. It looks like it did become a Candidate Recommendation though.

So…
<!– This is old –>
<svg>
<use xlink:href=”#whatever" />
</svg>
<!– This …
The post On xlink:href being deprecated in SVG appeared first on CSS-Tricks.

Link: https://css-tricks.com/on-xlinkhref-being-deprecated-in-svg/