Answers for "how to prevent selection in html"

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
0

how to hide code in html

<!DOCTYPE html>
<html>
<body>

<!-- This is a comment -->
<p>This is a paragraph.</p>
<!-- Comments are not displayed in the browser -->

</body>
</html>
Posted by: Guest on September-25-2020

Code answers related to "how to prevent selection in html"

Browse Popular Code Answers by Language