Why do we use tabs to begin after the initial <html>? And what happens when it isn’t used? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why do we use tabs to begin after the initial <html>? And what happens when it isn’t used?

24th Jul 2018, 1:39 AM
Derrek
3 Answers
+ 7
Indentations are considered a good practice to ensure than your code is readable. Not using them does not affect the functionality of your HTML document, but will make people go "ugh how am I supposed to make sense of this".
24th Jul 2018, 1:50 AM
Hatsy Rei
Hatsy Rei - avatar
+ 6
It is to improve the readability of your code, and also to let you keep track of how much tag-within-tags you have
24th Jul 2018, 3:29 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 2
Thank you!!! Day 1 for me so im sure you’ll see me asking a lot of beginners questions.
24th Jul 2018, 1:54 AM
Derrek