To get started, let's look at some DOM methods and properties that are available on an arbitrary (and common) SVG element, rect. To do this, you might go to the SVGRectElement element documentation (https://developer.mozilla.org/en-US/docs/Web/API/SVGRectElement). That would be a good option.
You might also inspect a rect element directly, using the developer tools of your browser of choice. That will look something like the following screenshot. This will be the way many of you interface with the available methods and properties of SVG elements:
While these are common, you could also do something like the following, ...