all tags in html

107 阅读1分钟
 let all_tags = vec![
            "!DOCTYPE",
            "a",
            "abbr",
            "acronym",
            "abbr",
            "address",
            "applet",
            "object",
            "object",
            "area",
            "article",
            "aside",
            "audio",
            "base",
            "basefont",
            "bdi",
            "bdo",
            "big",
            "blockquote",
            "br",
            "button",
            "canvas",
            "caption",
            "center",
            "cite",
            "code",
            "col",
            "colgroup",
            "data",
            "datalist",
            "dd",
            "del",
            "details",
            "dfn",
            "dialog",
            "dir",
            "div",
            "dl",
            "dt",
            "em",
            "embed",
            "fieldset",
            "figcaption",
            "figure",
            "font",
            "frame",
            "frameset",
            "h1",
            "h2",
            "h3",
            "h4",
            "h5",
            "h6",
            "i",
            "iframe",
            "img",
            "input",
            "ins",
            "kbd",
            "label",
            "input",
            "legend",
            "fieldset",
            "li",
            "link",
            "main",
            "map",
            "mark",
            "meta",
            "meter",
            "nav",
            "noframes",
            "noscript",
            "object",
            "ol",
            "optgroup",
            "option",
            "output",
            "p",
            "param",
            "picture",
            "pre",
            "progress",
            "q",
            "rp",
            "rt",
            "ruby",
            "s",
            "samp",
            "script",
            "section",
            "select",
            "small",
            "source",
            "audio",
            "audio",
            "span",
            "strike",
            "del",
            "s",
            "hr",
            "strong",
            "style",
            "sub",
            "summary",
            "details",
            "sup",
            "svg",
            "table",
            "tbody",
            "td",
            "template",
            "textarea",
            "tfoot",
            "th",
            "thead",
            "time",
            "title",
            "tr",
            "track",
            "tt",
            "u",
            "ul",
            "var",
            "video",
            "wbr",
            "footer",
            "form",
            "head",
            "header",
            "html",
            "body",
        ];