views:

28

answers:

1

Hello I am a newbie

I want to know

is there a way to have a text area which allows html where users can paste their html codes ?

+1  A: 

Yes, you can do this, but it's a ripe target for a Cross-Site Scripting attack, which is a serious and widespread security problem.

If you're going to be a web programmer you must study security resources, for instance:

Bill Karwin