HTML Formatter & Beautifier: DOM Tree Indentation & Void Element Syntax
HTML Formatter parses raw markup into a structured Document Object Model (DOM) tree, applying hierarchical 2-space indentation. It normalizes void elements (like
, , ), aligns attributes, and preserves
and