+ 1

Is indenting important in HTML? if yes why?

13th Nov 2019, 5:04 PM
Amit Kumar Singh
Amit Kumar Singh - avatar
4 odpowiedzi
0
In HTML, indentation helps you pair your opening tags with corresponding closing tags. If an error shows up or you forgot to close a HTML tag, indentation can help you quickly locate the problem. Indentation is also easy on the eye. If you revisit your code after a period away from it, you'll be glad that you indented it for readability.
13th Nov 2019, 6:23 PM
Xyenia 🦉
Xyenia 🦉 - avatar
0
Indentation in HTML is not important to the "internet". White space is ignored by most communications gear, and either compressed, ignored, or dropped. It's important to humans, though.
21st Nov 2019, 11:54 PM
JoeSponge
JoeSponge - avatar