Must you add the spaces between lines?
For example... <html> <head> </head> </html>
spaces are for convience. actually the browser's while reading the page ignores extra spaces and line breaks. this way we can write our code arranging them for our understanding and writing in trees embedding and adding more spaces between two different elements and when we really need extra spaces or line break in the webpage we can use the tags. computer will read it anyway but it will make problem for us to read and understand in some languages indents are compulsory but html is not as strict
Blake, are you referring to the space at the beginning of each opening tag? That's basically to organize each line of commands to ensure that anyone can know where each group of tags begins & ends. It's way more easier to read once complete your web site.
It is absolutely necessary to organize your code with standard conventions. Otherwise, you will have difficulty debugging your own code in the future. Even worse, another developer won't understand any of your code.
Keep the code clean and neat
using space really depends on the individual and if so it must be applied through out...For your work to look presentable
No it's not necessary bro. But this will make your code more easy to understand and read... 👍✌💐
its not necessary but if you want to make it more understandable you can...
for both cases its fine you can do that if you want your code clean and nice in mu opinion its better that way
In HTML, whitespace does not matter. You can indent, add spaces, add lines. It does matter inside of a tag, however. spaces are part of the syntax.
No the spaces are not needed. If you compare some code you can find currently, you will find ones with spaces easier to read and understand so making it with spaces is a good practice.
no. it is just nice/good practice to make your code readable