Answers for "html disable selecting text"

3

disable text selection html

<div 
 style="-moz-user-select: none;
        -webkit-user-select: none;
        -ms-user-select:none;
        user-select:none;
        -o-user-select:none;"
     
 unselectable="on"
 onselectstart="return false;" 
 onmousedown="return false;">
    Blabla
</div>
Posted by: Guest on August-16-2020
1

disable text selection

#example {
  user-select:none;
}
Posted by: Guest on July-07-2021
0

disable text selection html

<div 
 style="-moz-user-select: none; -webkit-user-select: none; -ms-user-select:none; user-select:none;-o-user-select:none;" 
 unselectable="on"
 onselectstart="return false;" 
 onmousedown="return false;">
    Blabla
</div>
Posted by: Guest on August-26-2020

Browse Popular Code Answers by Language