# Table

**Tabel HTML** adalah elemen yang digunakan untuk menampilkan data dalam format baris dan kolom. Tabel ini dibentuk dengan menggunakan beberapa elemen HTML seperti *\<table>*, *\<tr>*, *\<th>*, dan *\<td>*.

Sebuah tabel HTML terdiri dari beberapa elemen utama yaitu :

1. **\<table>** : elemen utama yang membungkus seluruh tabel.
2. **\<tr>** : elemen untuk baris dalam tabel.
3. **\<th>** : elemen untuk judul kolom.
4. **\<td>** : elemen untuk data sel dalam tabel.
5. **\<thead>** : elemen untuk mengelompokkan bagian atas tabel.
6. **\<tbody>** : elemen untuk mengelompokkan bagian tengah tabel.
7. **\<tfoot>** : elemen untuk mengelompokkan bagian bawah tabel.

![](/files/x3RrhhK8o3wgAp9UiWGY)


---

# 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://iptek-himti.gitbook.io/html-css/html/table-dan-form/table.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.
