# タブ

タブブロックは、複数のタブを追加できる単一のブロックです。

各タブには、任意の種類の他のブロックを複数含めることができます。したがって、同じタブブロック内の個々のタブに、コードブロック、画像、統合ブロックなどを追加できます。

### タブを追加または削除する

タブブロックに新しいタブを追加するには、タブの端にカーソルを合わせて、表示される `+` ボタンをクリックします。タブを削除するには、タブの **オプションメニュー** <picture><source srcset="/files/QLUQj6waZRiK6FpSqrt6" media="(prefers-color-scheme: dark)"><img src="/files/ce0e0a07ded643c4e219bbfe214239e291d0c7a1" alt="The Options menu icon in GitBook"></picture> を開いてから、 **削除**.

### 例

これは、特定のプラットフォームに関連する手順を一覧表示する例です:

{% tabs %}
{% tab title="Windows" %}
Windows の手順は次のとおりです
{% endtab %}

{% tab title="macOS" %}
macOS の手順は次のとおりです
{% endtab %}

{% tab title="Linux" %}
Linux の手順は次のとおりです
{% endtab %}
{% endtabs %}

### Markdown での表現

```markdown
{% tabs %}

{% tab title="Windows" %} ここに Windows の手順があります {% endtab %}

{% tab title="OSX" %} ここに macOS の手順があります {% endtab %}

{% tab title="Linux" %} ここに 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/ja-gitbook-documentation/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.
