How to disable all form elements without JS

Easy, just place all the elements you want to be disabled inside a <fieldset> like this:  

And that’s it!

Read Me

How to prohibit text copying in HTML

Or, in general, how to block the user from selecting a text on our site? Here’s the CSS:

Of course, some validation should also be done at the server side.

Read Me Leave comment