# Onglets

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

Chaque onglet peut contenir plusieurs autres blocs, de n’importe quel 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="/files/a8fb7b2b9f8482b7286cc5fc535d675ecfc5a7d9" alt="The Options menu icon in GitBook"></picture> de l’onglet puis sélectionnez **Supprimer**.

### Exemple

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

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

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

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

### Représentation en Markdown

```markdown
{% tabs %}

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

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

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

{% endtabs %}
```


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://gitbook.com/docs/documentation/fr/creating-content/blocks/tabs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
