<script> - SVG | MDN

<script>

The <script> SVG element allows you to add scripts to an SVG document.

Note: While SVG’s script element is equivalent to the HTML <script> element, it has some discrepancies, like it uses the href attribute instead of src and it doesn’t support ECMAScript modules so far (See browser compatibility below for details)

Printed 2026-09-05.

(echo:: @ )