Noob Question | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Noob Question

Im currently learning HTML and i was wondering if I should use bunch of <p> or should I have <p1> <p2> and so on for the sake of reading it better and if someone is reading my code should also have a better understanding? What do you guys usually do? Tnx, Avid

27th Sep 2018, 8:13 PM
Avid
4 Answers
+ 3
You can't use anything but <p> to represent <p>. It's not confusing at all, it's perfectly fine. What's nice is that you're already looking towards helping others read your code easier, which is really important if you want to get into the industry.
27th Sep 2018, 8:18 PM
LunarCoffee
LunarCoffee - avatar
+ 3
It may help to use comments to help separate paragraphs. ie: <!-- Cool Stuff ---> <p>Coding</p> <!-- Less Cool Stuff ---> <p>Not Coding</p>
27th Sep 2018, 8:25 PM
SuperC
SuperC - avatar
0
Thanks guys for the answers! Really appreciate this :)
27th Sep 2018, 9:48 PM
Avid
0
you should do <pee> then go to <pee pee> thats what i do
28th Sep 2018, 10:24 AM
Robbie Rotten
Robbie Rotten - avatar