KOMPOOS.NL

caption - HTML5

home » manuals » html5 » caption.html

sitemap | terug naar het html5 referentie - tags - overzicht


voorbeeld caption tag html5

korte titel (b.v. bezoekers in %)
bezoekers buitenland bezoekers nederland
29% 71%

uitleg caption tag

De caption gebruik je om een korte titel boven een tabel te plaatsen. Kijk even naar de onderstaande code hoe de juiste syntax is.

html code-voorbeeld met een caption tag


<table border="1">
        <caption>korte titel (b.v. bezoekers in %)</caption>
        <tr>
                <th>bezoekers buitenland</th>
                <th>bezoekers nederland</th>
        </tr>
        <tr>
                <td>29%</td>
                <td>71%</td>
        </tr>
</table>