Source Code: (back to article)
<!DOCTYPE html>
<html>
<head>
<title>Заголовок документа</title>
<style>
.unselectable {
-webkit-user-select: none;
-webkit-touch-callout: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
color: #cc0000;
}
</style>
</head>
<body>
<p>Это выбираемый текст. Выберите текст.</p>
<div class="unselectable">Это невыбираемый текст. Выбираемость текста отключена.</div>
</body>
</html>