Answers for "how to disable image drag in html"

1

html disable drag image

<img src="" alt="" draggable="false">
Posted by: Guest on December-29-2019
3

how to disable image dragging in html

use ondragstart="return false" for dragging and onselectstart="return false" for selecting
Posted by: Guest on August-01-2020

Browse Popular Code Answers by Language