Quote:
Originally Posted by Vinak
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>