Answers for "html how to stop text from being selected"

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

Code answers related to "html how to stop text from being selected"

Browse Popular Code Answers by Language