Bulletin board code/fr: Difference between revisions From Online Manual

Jump to: navigation, search
(Created page with "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 : {{code|[ouvrante] ...")
(Created page with "===Texte en gras et en italique===")
Line 9: Line 9:
[b]          texte en gras          [/b]}}
[b]          texte en gras          [/b]}}


===Bold and italic text===
===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:
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:

Revision as of 00:55, 27 November 2011

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: