How html tag extractor works
The extractor reads an HTML snippet and identifies every opening tag, its name, and its attributes. It uses a forgiving regex-based scan that handles quoted attribute values (single or double quotes) and boolean attributes, so it works on the kind of real-world HTML people paste, not just perfectly-formed markup.
For every opening tag it records the attributes and their decoded values, then aggregates the results: a per-tag count, every unique class and id, and the collected values for common attributes like href, src, alt, title, rel, and target. It also counts HTML comments and reports whether a doctype is present.
Closing tags are counted separately from opening tags so you can spot mismatches. All parsing happens in your browser, so the HTML you paste is never uploaded.