The pageX property controls the horizontal (x-coordinate) positioning within a Web page. Example of the event.pageX property Click in the web browser.