When I open (for example) Chrome's developer tool I can inspect an element by clicking on it (and the tool highlights that for me as well). It shows me it's html tag and the class or ID in the first place. Is it possible to have the same funcionality on my website, but without using a developer tool?
Example:
you pick an url, and my website shows it in an iframe. My goal is to get a html element's class/id shown in the iframe, just by clicking on it.