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

**URL:** <https://forum.kirupa.com/t/get-x-y-coordinates-of-a-span-div-tag/194292>\
**Category:** web dev\
**Created:** [July 21, 2006, 10:43pm UTC](https://forum.kirupa.com/t/get-x-y-coordinates-of-a-span-div-tag/194292 "2006-07-21T22:43:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![blackf0rk](https://avatars.discourse-cdn.com/v4/letter/b/aeb1de/32.png) [@blackf0rk](https://forum.kirupa.com/u/blackf0rk)\
**Post date:** [July 21, 2006, 10:43pm UTC](https://forum.kirupa.com/t/get-x-y-coordinates-of-a-span-div-tag/194292/1 "2006-07-21T22:43:10Z")

</div>

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:
