Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the document</title> <style> div { -webkit-user-select: none;/* Safari 3.1+ */ -moz-user-select: none;/* Firefox 2+ */ user-select: none;/* Standard syntax */ } </style> </head> <body> <h2>User-select property example</h2> <div>Lorem ipsum is simply dummy text.</div> </body> </html>