Expand description
This module contains utilities for parsing or validating strings relating to tags.
Functions§
- is_
valid_ custom_ html_ element_ name - Returns true when the tag name provided would be a valid “custom element” per the WhatWG spec
- is_
valid_ html_ attribute_ name - Returns true when the string provided is a valid “attribute name” as defined in the WhatWG spec
- is_
valid_ html_ element_ name - Returns true when the tag name provided would be a valid HTML element
- is_
valid_ mathml_ element_ name - Returns true when the tag name provided would be a valid MathML element
- is_
valid_ sgml_ tag - Returns true when you could validly construct a tag using this name in an HTML document
- is_
valid_ svg_ element_ name - Returns true when the tag name provided would be a valid SVG element