0

Bigger code

how do I make more lines for a longer code? also do I always have to keep pressing tab to line the codes up? is there an easier way? example.. If I have <h1> and then under I have <h2> do I have to keep pressing the tab button until they are lined up one on top of another?

20th Nov 2017, 12:30 AM
ZayThedon
ZayThedon - avatar
14 Respostas
+ 4
Are you using just regular notepad?
20th Nov 2017, 12:35 AM
Arthur Tripp
Arthur Tripp - avatar
+ 4
In the code playground it will help with the indenting.
20th Nov 2017, 1:03 AM
Arthur Tripp
Arthur Tripp - avatar
+ 4
Go to code playground and start coding there. It lines it up for you.
20th Nov 2017, 1:17 AM
Arthur Tripp
Arthur Tripp - avatar
+ 3
HTML suppresses / ignores whitespace (collapsing multiple spaces to 1, e.g.), except in tags that preserve it (like <pre>). A primary reason to line up your code is for legibility, and it can help you avoid nesting errors. You can use an HTML beautifier after the fact. Some editors have them built in, or Google it.
20th Nov 2017, 2:42 AM
Kirk Schafer
Kirk Schafer - avatar
+ 1
hope this makes sense and I can get good feed back thanks guys! any tips too would be much appreciated!
20th Nov 2017, 12:31 AM
ZayThedon
ZayThedon - avatar
+ 1
I'm at the try it yourself in the study part and just trying to build a code
20th Nov 2017, 12:38 AM
ZayThedon
ZayThedon - avatar
+ 1
so I don't need to keep pressing tab to line them up?
20th Nov 2017, 1:15 AM
ZayThedon
ZayThedon - avatar
+ 1
okay thanks
20th Nov 2017, 1:21 AM
ZayThedon
ZayThedon - avatar
0
Thanks Kirk!
20th Nov 2017, 8:44 AM
ZayThedon
ZayThedon - avatar
0
I went job because lm not job
15th Aug 2024, 8:43 PM
Yahya Ahmed
Yahya Ahmed - avatar
0
how do I make more lines for a longer code? also do I always have to keep pressing tab to line the codes up? is there an easier way? example.. If I have <h1> and then under I have <h2> do I have to keep pressing the tab button until they are lined up one on top of another? html 20th Nov 2017, 12:30 AM
15th Aug 2024, 8:46 PM
Yahya Ahmed
Yahya Ahmed - avatar
0
May name yahye lwaz born in somaliland lwaz born 2000 My contain 2 girls and 4 boys and my father and my mather
15th Aug 2024, 8:48 PM
Yahya Ahmed
Yahya Ahmed - avatar
0
do I make more lines for a longer code? also do I always have to keep pressing tab to line the codes up? is there an easier way? example.. If I have <h1> and then under I have <h2> do I have to keep pressing the tab button until they are lined up one on top of another? html 20th Nov 2017, 12:30 AM
15th Aug 2024, 9:41 PM
Yahya Ahmed
Yahya Ahmed - avatar
0
do I make more lines for a longer code? also do I always have to keep pressing tab to line the codes up? is there an easier way? example.. If I have <h1> and then under I have <h2> do I have to keep pressing the tab button until they are lined up one on top of another? html 20th Nov 2017, 12:30 AM
15th Aug 2024, 9:41 PM
Yahya Ahmed
Yahya Ahmed - avatar