I am trying to find the coordinates (x,y) value of all words in html. I have tried to add <span> for each word </span>
and find using
var rect = el.getBoundingClientRect()
above is working fine. But my question is, how can i get the position of words without wrapping the words with additional tags as mentioned above ? or is it possible to do so ?