[][src]Crate taginfo

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