I am taking input from user where i want to ban few html tags like , and also want to ban attributes like onclick, onmousemove, onmouseover etc
also user still be able to write programming language code like html php jQuery for discussion. but it should not run
please guide me
Here is a function I’ve used that you can tailor to your needs.