For this, you can use CSS property user-select
with value none
:
HTML:
<div class="no-select">
<!-- Content here is disabled for user selection -->
</div>
CSS:
.no-select {
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
-o-user-select: none;
user-select: none;
}
Also, you can use JS PL for it, but if user disable JS, then him can get around it.