does it matter how much spacing is on each line? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

does it matter how much spacing is on each line?

4th Jun 2016, 8:59 PM
Nathan Rodriguez
Nathan Rodriguez - avatar
4 Answers
+ 2
no, spacing doesnt matter on text, but it is when using tags. for example, < head > is wrong, the correct is <head>. but <p> hello world </p> and <p>hello world</p> is the same
5th Jun 2016, 3:12 AM
James Michael Kasangga
James Michael Kasangga - avatar
0
What do you mean by this?
5th Jun 2016, 1:25 AM
Josue Flores
Josue Flores - avatar
0
he means indentation. this is very important when coding. but content is up to you. you can have a single space or a hundred spaces in you content and it will validate fine. although I'm unsure if bad indentation will fail validation, I do know it enrages me to fix up bad code.
10th Jun 2016, 12:53 PM
Trikyas.com
Trikyas.com - avatar
0
indentation isn't a necessity in html. it helps the developer make the markup more readable and adds structure to the code, but the content will be displayed the same when viewed in a browser
12th Jun 2016, 10:20 PM
Stevie Gillen
Stevie Gillen - avatar