+ 5
How do I make my HTML source code look neat and readable to others?
Is there a guide somewhere to writing pretty code? I am not sure what to include on the same line, if anything should be indented, etc. I know if eventually this is a career, I will have other people looking through my code, and I want it to be neat, readable, and formatted in a way that people will be expecting.
3 Respuestas
+ 8
There are lot of online code formatting tools available out there that can beautify your ugly web code with proper indentation. Try to use one of them.
+ 4
If that's the case, and since you said html , then I ll suggest atom editor it's pretty awesome with so many packages,
and it's beautify plugin will do ur job with ease , just select all code then Alt + Ctrl + B, that's it code indented, it works on all languages, it comes very handy for me when I try to study others messy code
I am specifically stressing for atom editor because the beautify plugin follows the indentations and spacing standard used by all, u can even post ur code in stackoverflow without doing any changes
moreover plugins are very easy to install in atom,