Bulletin board code From Online Manual

< Bulletin board code
Revision as of 00:55, 27 November 2011 by DeathSign (talk | contribs) (Created page with "===Texte en gras et en italique===")
Jump to: navigation, search
Languages English  · Deutsch · Ελληνικά · español · français · italiano · Nederlands · norsk · polski · русский · srpski (latinica) · svenska · Türkçe

Bulletin board codes or BBCodes are a way to format posts in SMF and in many other places online. For an explanation of the buttons in the post page, see Basic Bulletin Board Codes. This article explains the important concept of nesting.

Imbrication des BBCodes

Le format général d'un BBCode se compose trois parties, une balise ouvrante, le contenu à l'intérieur et une balise fermante, comme montré ci-dessous :

[ouvrante]    texte à l'intérieur    [/fermante]
[b]           texte en gras          [/b]

Texte en gras et en italique

You can place one BBCode tag inside another as long as the child tag is closed before the parent tag. For example, the correct way to make bold and italic text is:

[b][i]bold & italic text[/i][/b]

This is shown more easily when the tags are indented:

[b]
    [i]
        bold & italic text
    [/i]
[/b]

The next example is incorrectly nested, which is easily shown with indented tags:

[b][i]bold & italic text[/b][/i]
[b]
    [i]
        bold & italic text
[/b]
    [/i]

See Also



Advertisement: