pub fn is_attribute(name: &str) -> boolExpand description
Whether name is an attribute an element may be given.
data- and aria- are admitted by prefix: the first is HTML’s own extension point and the
second is a namespace with hundreds of members whose spelling is checkable but whose values
are where the mistakes are, which is §12.4’s job rather than this one.