W3C HTML Tag Specifications

HTML Element Guides

Explore individual guides for every tag recognized by json-to-dom. Each guide breaks down the tag's grammar rules, allowed attributes, theme variations, and live runtime behavior.

Composite Form Family (7 tags)

Input fields, labels, buttons, and autocomplete elements
Form Category
<input> Void Tag

Text, number, password, email inputs. Disallows text and children. Supports 10 allowed attributes.

allowsTextContent: false allowsChildren: false
<checkbox> Syntactic Sugar

Convenience mapping to <input type="checkbox"> with checked attribute.

allowsChildren: false checked, disabled
<button> Interactive

Form submission and action triggers. Supports textContent, icons, and native event listeners.

allowsTextContent: true type, disabled
<div> Container

Generic block layout container for input-groups, grid rows, and card wrappers.

allowsChildren: true allowsTextContent: false
<datalist> Autocomplete

Native HTML5 autocomplete dropdown container. Holds <option> children.

allowsChildren: true id, class
<option> Dropdown Item

Datalist or select item definition. Accepts textContent, value, and label.

allowsTextContent: true allowsChildren: false

Composite Table Family (7 tags)

Data grids, headers, rows, and financial footer structures
Table Category
<table>

Top-level table container. Holds thead, tbody, and tfoot.

class, id, style, border
<thead>

Header section container holding column header rows.

allowsChildren: true
<tbody>

Data record body container for rows.

allowsChildren: true
<tfoot>

Multi-tier summary and tax calculation footers.

allowsChildren: true
<tr>

Table row holding th or td elements.

allowsChildren: true
<th>

Column header cell. Supports textContent, scope, colspan, rowspan.

allowsTextContent: true
<td>

Data cell. Supports textContent, colspan, rowspan, and custom children.

allowsTextContent: true
Raw JSON Grammar Specifications

Direct public CDN endpoints for machine-readable tag definitions.