Work log
Published September 22, 2026
HTML
The HTML research domain of Frontend Analysis focuses on the authored structure and platform semantics of HTML documents.
Its purpose is not merely to recognize tags or reconstruct a conventional DOM tree.
The research instead asks which HTML facts must be represented explicitly so that downstream analysis can reason about document structure, authored source correspondence, element relationships, attributes, and interactions with other frontend domains without losing important semantic evidence.
HTML is treated as its own research domain before introducing broader cross-domain assumptions.
Primary areas of investigation include:
- document and element structure
- authored source correspondence
- element nesting and relationships
- attributes and attribute values
- ordering and duplicate authored occurrences where semantically relevant
- parsing and recovery behavior where it affects observable structure
- semantic ownership of HTML-derived facts
- relationships between authored markup and resulting platform semantics
- boundaries between HTML, CSS, and ECMAScript analysis
A core distinction is maintained between authored source and derived structure.
The structure observed by the platform is not always a direct one-to-one representation of the text that was written. HTML parsing can introduce normalization, implicit structure, recovery behavior, and other effects that make source correspondence a research problem rather than a simple tree-construction problem.
For that reason, Frontend Analysis does not assume that a generic DOM representation is sufficient for every analysis consumer.
Each capability should instead establish:
- what semantic fact is being observed
- which authored source contributed to it
- which component owns the fact
- what independent evidence can validate it
- what information must survive into production representation
The same falsification-first methodology used throughout Frontend Analysis applies here:
HTML authority → bounded semantic question → independent observation or oracle → positive and negative witnesses → falsification → accepted evidence → production representation
Cross-domain behavior with CSS or ECMAScript should be introduced only when the HTML-side semantics are sufficiently understood and the interaction itself has evidence.
The long-term goal of the HTML domain is to provide reliable structural and source-correspondence facts for higher-level frontend analysis, including debugging, migration, transformation, dependency reasoning, and AI-assisted source understanding.
#HTML #FrontendAnalysis #StaticAnalysis #WebPlatform #Research