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
9/27/2018 8:13:54 PM
Avid4 Answers
New AnswerYou 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.
It may help to use comments to help separate paragraphs. ie: <!-- Cool Stuff ---> <p>Coding</p> <!-- Less Cool Stuff ---> <p>Not Coding</p>
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message