CSS user-select 속성을 사용하여 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>