fix: surround tags with code tags (#18847)

* Update index.md

Fixed tags markup

* Update index.md
This commit is contained in:
Leon Kochetkov
2018-10-15 22:43:43 +02:00
committed by Quincy Larson
parent f4118ad767
commit d9b3fc3346

View File

@ -3,12 +3,12 @@ title: Tables
--- ---
### Defining an HTML Table ### 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 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. A more complex HTML table may also include `<caption>`, `<col>`, `<colgroup>`, `<thead>`, `<tfoot>`, and `<tbody>` elements in it.