BBcode is used for formatting, which allows for colors, size, and layout, and some signatures contain unicode characters to display symbols. You can't display a picture in your signature, but BBcode is plenty for simple banner advertisements. If you want an example, take a look at the BBcode used for the advertisement in my signature:
https://bitcointalk.org/index.php?topic=530420.0