Indent and tidy HTML with Prettier, including embedded <style> and <script> blocks.
Ctrl + Enter to run
Indenting markup makes nesting visible, which is how you spot the unclosed `<div>` that is pushing your footer inside the sidebar. Browsers recover from broken structure silently and inconsistently, so the rendered page often looks almost right while the DOM is not what you intended.
Formatting generated or vendor markup is the common case — output from an email builder, a CMS, or a page saved from the browser. Be careful with template files: a formatter sees Handlebars or Jinja as plain text and can move a tag across a control-flow boundary.