Get x,y Coordinates of a SPAN/DIV tag?

Is there a way with HTML DOM (or any other means) that I can get the x,y coordinates of a SPAN or DIV tag? Preferrably the SPAN tag. I don’t need the whole code, just the HTML DOM class reference or something.:ear: