> For the complete documentation index, see [llms.txt](https://gitbook.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gitbook.com/docs/documentation/fr/creer-du-contenu/blocks/tabs.md).

# Onglets

Ajoutez des onglets pour afficher de grands blocs d’informations connexes sans créer une page longue et difficile à parcourir

Un bloc d’onglets est un bloc unique avec la possibilité d’ajouter plusieurs onglets.

Chaque onglet peut contenir plusieurs autres blocs, de tout type. Vous pouvez donc ajouter des blocs de code, des images, des blocs d’intégration et bien plus encore à des onglets individuels dans le même bloc d’onglets.

### Ajouter ou supprimer des onglets

Pour ajouter un nouvel onglet à un bloc d’onglets, survolez le bord d’un onglet et cliquez sur le `+` bouton qui apparaît. Pour supprimer un onglet, ouvrez le **menu Options** <picture><source srcset="/files/QLUQj6waZRiK6FpSqrt6" media="(prefers-color-scheme: dark)"><img src="https://3903131528-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2FaS1QvPIBVYwhpFTGcPBN%2Foptions-menu.svg?alt=media&amp;token=3ee40bbf-f4fb-41fa-aa30-306b559cbe88" alt="The Options menu icon in GitBook"></picture> puis sélectionnez **Supprimer**.

### Ajouter, modifier ou supprimer des icônes

Pour ajouter ou modifier une icône, ouvrez le **menu Options** <picture><source srcset="/files/QLUQj6waZRiK6FpSqrt6" media="(prefers-color-scheme: dark)"><img src="https://3903131528-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2FaS1QvPIBVYwhpFTGcPBN%2Foptions-menu.svg?alt=media&amp;token=3ee40bbf-f4fb-41fa-aa30-306b559cbe88" alt="The Options menu icon in GitBook"></picture>. Puis sélectionnez **Définir l’icône** ou **Modifier l’icône**, puis sélectionnez une icône.

Pour supprimer une icône, ouvrez le **menu Options** <picture><source srcset="/files/QLUQj6waZRiK6FpSqrt6" media="(prefers-color-scheme: dark)"><img src="https://3903131528-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNkEGS7hzeqa35sMXQZ4X%2Fuploads%2FaS1QvPIBVYwhpFTGcPBN%2Foptions-menu.svg?alt=media&amp;token=3ee40bbf-f4fb-41fa-aa30-306b559cbe88" alt="The Options menu icon in GitBook"></picture>. Puis sélectionnez **Supprimer l’icône**.

### Exemple

Voici un exemple qui répertorie des instructions pertinentes pour des plateformes spécifiques :

{% tabs %}
{% tab title="Windows" icon="windows" %}
Voici les instructions pour Windows
{% endtab %}

{% tab title="macOS" icon="apple" %}
Voici les instructions pour macOS
{% endtab %}

{% tab title="Linux" icon="linux" %}
Voici les instructions pour Linux
{% endtab %}
{% endtabs %}

### Représentation en Markdown

```markdown
{% tabs %}

{% tab title="Windows" icon="windows" %} Voici les instructions pour Windows {% endtab %}

{% tab title="macOS" icon="apple" %} Voici les instructions pour macOS {% endtab %}

{% tab title="Linux" icon="linux" %} Voici les instructions pour Linux {% endtab %}

{% endtabs %}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://gitbook.com/docs/documentation/fr/creer-du-contenu/blocks/tabs.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
