Expand description
Defines syntactical properties of HTML tags, attributes, and text.
Functionsยง
- is_
valid_ in_ attribute_ name - Check whether a character is valid in an attribute name.
- is_
valid_ in_ attribute_ value - Check whether a character can be an used in an attribute value without escaping.
- is_
valid_ in_ normal_ element_ text - Check whether a character can be an used in normal text without escaping.
- is_
valid_ in_ tag_ name - Check whether a character is in a tag name.
- is_
w3c_ text_ char - Check if something is valid text in HTML.