Added (setq sgml-basic-offset 4) to set HTML indentation to 4 spaces.