+ 1

Why do we use parentheses in <p> Hello </p> and slash too ???

22nd Dec 2018, 5:47 PM
Lucky Gupta
Lucky Gupta - avatar
2 Réponses
+ 5
To help the browser that the paragraph start and it ends or else the browser will get load it will not understand where to stop without /p it will take as a opening a new paragraph
22nd Dec 2018, 6:19 PM
Yash🏁🔘
Yash🏁🔘 - avatar
+ 2
First <p> is a sign to start new paragraph And </p> the one with slash, mark the end of the paragraph
22nd Dec 2018, 5:53 PM
Taste
Taste - avatar