I have an html file (size about 260kb) whose source code is not formatted. i.e., all the tags and all the code of the html file are on one single line. So, on opening it in gedit(or notepad) its impossible to understand its contents. Is is possible to somehow indent it according to tags so that all tags come on different lines and the html code becomes comprehendible. Please help.
You mean aside from tabbing yourself? Try HTML Tidy Online - it has an automatic indentation function.
Try out purehtml.in. It takes care of indenting for HTML tags, including content within script and style tags.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With