What's used to make a particular text , "not selectable" ?
- User
What's used to make a particular text , "not selectable" ?
- Assistant
There are several methods to make text "not selectable" on a webpage or in a document. Here are a few common techniques:
-
CSS User Select Property: You can use CSS to control text selection. The
user-selectproperty can be set tonone, preventing users from selecting the text..no-select { user-select: none; /* Non-standard syntax */ -webkit-user-select: none; /* For Safari */ -moz-user-select: none; /* For Firefox */ -ms-user-select: none; /* For Internet Explorer/Edge */ }
-