How can I get 3D position of an HTML Element?

Hello Everynoe

Today I searched a way to get 3D coordinates based to top, left, width, etc data of an HTML element according to the camera position and fov but i failed to get what i wanted.

Could someone do something like this and help me find a solution?

Thank you in advance !