CSS का उपयोग करें उपयोगकर्ता-चयन संपत्ति सेट करने के लिए कि क्या तत्व का पाठ सीएसएस के साथ चुना जा सकता है या नहीं
उदाहरण
<!DOCTYPE html>
<html>
<head>
<style>
div {
user-select: none;
}
</style>
</head>
<body>
<h2>This is demo heading</h2>
<div>This is demo text. You won't be able to select it.</div>
</body>
</html>