References

Beginner-friendly references for web development, with live, editable examples.

The HTML onselect event

Event All modern browsers Updated
Quick answer

The HTML onselect attribute runs JavaScript when the user selects text inside an or