Ok, this is not actually a problem, but I would like to understand it.. At my company we have an intranet site, plain html. This site has a html forum as well. When I write in the textarea I can use html tags to change the text's appearance/design. I can even use local css inside the tags and it is working. However when I try to add the following javascript tag:
<script type ="text/javascript>
alert("this is a test");
</script>
...nothing happens. Of course I am not the programmer/webmaster of the forum, I am just simple user. So my questions are:
1. Why can I use html tags (div, span, ect.) and cannot use the script tag? Why is one working and the other not?
2. Isn't this a fault of the webmaster that I can use html/css inside the forum page (this way having the possibility to mess up the design of the page : like inserting big squares/text or whatever)? (Do not missunderstand me I have no intention to do it, but still there is the possibility)
3. Shouldn't he use validation (using javascript) of the textarea before the message is saved/stored?
As I am very new into html/css/javascript I am just very curious how and why things happen!
Thank you in advance for your replies!