Skip to main content

VOID_ELEMENTS

Constant VOID_ELEMENTS 

Source
pub const VOID_ELEMENTS: &[&str];
Expand description

The void elements of the HTML standard, plus param, which browsers still parse as one. Each is complete in its start tag: it holds no content, and no later closing tag belongs to it.

Sorted, so a lowercase tag name can be binary searched.