Indentation in HTML

So, I’m just starting to learn HTML, and I was wondering about indentation. Are all the levels of an indented element also supposed to be indented? If so, what does it mean if it’s not? if not, won’t that affect readability?

All indentation in HTML is for readability. Do whatever you want, as long as you can read it.

1 Like