You can nest SVG elements (#tilPost)

Recently I heard in a podcast that nesting SVGs is valid. ?
<svg xmlns=”http://www.w3.org/2000/svg” xmlns:xlink=”http://www.w3.org/1999/xlink”>
<!– some SVG content –>
<svg>
<!– some inner SVG content …

Recently I heard in a podcast that nesting SVGs is valid. ?

<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
    <!-- some SVG content -->
    <svg>
        <!-- some inner SVG content -->
    </svg>
<svg>

I was surprised and started googling. I found two fantastic posts by Sara Soueidan.

So this learning includes "only" two bookmarks for myself. Honestly, read and bookmark them, too. The articles Sara writes are always excellent.


Reply to Stefan
Print Share Comment Cite Upload Translate
CITATION GOES HERE CITATION GOES HERE
Select a language: