Update index.md (#19007)

Fixed tags markup
This commit is contained in:
Leon Kochetkov
2018-10-14 10:13:52 +02:00
committed by Randell Dawson
parent f5ce9f8ddc
commit ba57b384b0

View File

@ -3,11 +3,11 @@ title: Tables
---
### Defining an HTML Table
An HTML table is defined with the <table> tag.
An HTML table is defined with the `<table>` tag.
Each table row is defined with the <tr> tag. Inside a row there may be table headers or table data.
Each table row is defined with the `<tr>` tag. Inside a row there may be table headers or table data.
* A table header is defined with the <th> tag. By default, table headings are bold and centered.
* A table header is defined with the `<th>` tag. By default, table headings are bold and centered.
* A table data/cell is defined with the <td> tag.
A more complex HTML table may also include `<caption>`, `<col>`, `<colgroup>`, `<thead>`, `<tfoot>`, and `<tbody>` elements in it.