4 ms·
Indenting HTML is a terrible practice. HTML is not a programming language - it is document markup. Source files should read like a line-wrapped text document sp
by protonfish 13y ago
Indenting HTML is a terrible practice. HTML is not a programming language - it is document markup. Source files should read like a line-wrapped text document sprinkled with embedded tags. Let your editor keep track of open/close pairs with highlighting (the way most already do.)
- recursive 13y agoHave you ever maintained HTML? It doesn't sound like it.
- protonfish 13y agoThat's what I do professionally for over 10 years. I know it sounds unorthodox, but I have have plenty of first hand experience that it works.
- saraid216 13y agoPeople indent text files for reasons other than "I am writing in a programming language." For example, take an English class. Any. English. Class.