| Back to help page |

Combining HTML codes

Combining fonts

If you want to combine different font codes, there is a shorter way of doing it than piling them up. Say you want red text at size 4. You can use the code as follows:

<font color=red size=4>Text</font>

If you want to use font faces with that, then you can do the following:

<font size=4 color=red face="Comic Sans MS">text</font>

Combining other tags

You can combine any HTML tag, but the rule of thumb is the first start tag should be the last end tag and vice versa, the last start tag should be the first end tag.

So say you want some text centered, bold, italicized and font size 4. Either of the following will work, but notice how the tags are placed in order.

<CENTER><B><I><font size=4>TEXT</font></I></B></CENTER>

<font size=4><I><B><CENTER>TEXT</CENTER></B></I></font>

Now in chat, it is not necessary to even put the end tags. But you may want certain codes to change through the post and others not. The one code you want to change should be the last start tag. So say you want some text to be bold and italicized, but with changing colors. To do this you would do the following:

<B><I><font color=red>TEXT1</font><font color=blue>TEXT2</font></I></B>

| Back to help page |