Module Parser.Constants

HTML element constants and categories.

This module provides lists of element names that have special handling in the HTML5 parser:

val void_elements : string list

Elements that cannot have children: area, base, br, col, embed, hr, img, input, link, meta, source, track, wbr.

val formatting_elements : string list

Elements tracked for the adoption agency algorithm: a, b, big, code, em, font, i, nobr, s, small, strike, strong, tt, u.

val special_elements : string list

Elements with special parsing behavior that affect scope checking.