Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Remove SpaceNew to Visual Studio Code? Get it now.
Remove Space

Remove Space

Remove html space

|
669 installs
| (0) | Free
Remove space from the HTML file
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Remove Html Space

Delete space in html file.

How to use

  • Open any html file, right click the mouse to see the menu Remove Space

    or

  • Enter >Remove Space in the Command Center

  • You can select del space level: level1 level2 level3. The larger the number, the more Spaces are deleted.

It will remove the spaces and line breaks in front of the following elements in current html file.

  • br
  • a
  • sub
  • sup
  • small
  • span
  • samp
  • strong
  • em
  • img
  • b
  • i
  • del
  • rt
  • rp
  • q
  • time
  • abbr
  • var
  • cite
  • bdo
  • bdi
  • s
  • u
  • mark

Author

Ashley

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft