The SVG ownerElement property returns ownerElement of the given Attr Element.
Syntax:
name = attribute.ownerElement
Return value: This property returns the ownerElement of the Attr.
Example 1:
Output:
👁 Image
👁 Image
Example 2:
Output:
👁 Image
👁 Image