How to make HTML Text unselectable [duplicate]
问题 This question already has an answer here: How to disable text selection highlighting 43 answers 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,...) 回答1: You can't do this with plain vanilla HTML, so JSF can't do much for you here as well. If you're