How to make HTML Text unselectable [duplicate]

I would like to add text to my webpage as a label and make it unselectable.

In other words, When the mouse cursor is over the text I would like it to not turn into a text selecting cursor at all.

A good example of what I’m trying to achieve is the buttons on this website (Questions,Tags,Users,…)

4 Answers
4

Leave a Comment