There are multiple ways you can intent (format or prettify) the content of an HTML file in Notepad++ text editor, let us take a look at a few of the plugins
1. Using XML Tools
As HTML is a special form of XML you can make use of the XML Tools to format your HMTL code.
Go to Plugins -> XML Tools -> Pretty Print
2. Using "Indent by Fold" Tools
Go to Plugins -> Indent by Fold -> Reindent File
Note: You will need to install the "Indent by Fold" plugin using the Plugin Admin to use it.
Facing issues? Have Questions? Post them here! I am happy to answer!
Author Info:
Rakesh (He/Him) has over 14+ years of experience in Web and Application development. He is the author of insightful How-To articles for Code2care.
Follow him on: X
You can also reach out to him via e-mail: rakesh@code2care.org
More Posts related to NotepadPlusPlus,
- How to hide toolbar on Notepad++
- Change the default Line Encoding Notepad++ (CR LF)
- Notepad++ is about to exit prompt message
- How to force quit or kill Notepad++ Process
- Add Blank Lines Between Each Lines in Notepad++
- Install Notepad++ silently using Windows Powershell
- Prettify JSON in Notepad++
- Notepad++ Convert text from lower to upper case
- Must have CSV Plugins for Notepad++
- How to lock Notepad++ tabs?
- Column Mode Editing in Notepad++
- How to change background color in Notepad++
- Notepad++ sort by name with example
- How to rename a tab in Notepad++
- [Solved] Notepad++ Menu Bar Missing
- Where are Notepad++ temp unsaved files stored?
- Notepad++: How to add Quotes to CSV File
- How to check about details of Notepad++ text editor
- How to close all tabs of Notepad++?
- How choose alternate Tab Bar icon in Notepad++
- How to copy file name and path to clipboard in Notepad++
- Change default language highlighting in Notepad++
- Add Line Number before each line in Notepad++ using Column Editor
- Go to Line Number option in Windows Notepad
- How to show End of Line Characters in File using Notepad++
More Posts:
- Microsoft Teams change default language - Teams
- How to get more information about npm using brew command - HowTos
- Resolving DNS_PROBE_FINISHED_NXDOMAIN Google Chrome Error - Google
- How to create tar.gz file using Terminal Command - Linux
- 4 Open Source SQLite Editor for Mac OS X , Windows and Linux - Mac-OS-X
- Fix: SyntaxError: ( was never closed [Python] - Java
- Java JDBC NumberFormatException: For input string - Java
- Fix: Xbox Error Code: 0x80190190 - Microsoft