View Single Post
Old 2008-06-15, 21:10   Link #1636
LiberLibri
(`◉◞౪◟◉´)
 
 
Join Date: Jan 2008
Location: Akihabara, Tokyo, Japan
Send a message via AIM to LiberLibri
Quote:
Originally Posted by Vinak View Post
How come HTML tags are written differently in forums than they are for websites?

for example.

Sample Text

uses the following tags
[ color=red][ B] [ I] Sample Text [/b] [/i][/color]


Opposed to using

<color=red><b><I>
Sample Text </b></I></color>

never really understood this.
If you allow users to write HTML tags directly with lt/gt marks (<>) in a public board, it will cause a danger in security; Cross-Site Scripting (XSS), for example. That is why the popular user-generated contents management systems such as Wiki and vBulletin urge authors to employ the indirect aliases.

By the way, your second sample should be:
<font color="red"><b><i>sample text</i></b></font>
LiberLibri is offline   Reply With Quote