Usage of <p> in heading | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Usage of <p> in heading

Isnt it required to use <p> and </p> while using the heading tags ?

16th Dec 2018, 5:41 AM
Sai Rithwik
Sai Rithwik - avatar
3 Answers
+ 5
<p> is paragraph tags and for heading you have to use <h1> to <h6>.
16th Dec 2018, 5:48 AM
Raj Chhatrala
Raj Chhatrala - avatar
+ 5
It is not required, you can use <h1> , <h2>,<h3>,<h4>,<h5> and <h6> for making headings 👍 We use <p> for making a paragraph
16th Dec 2018, 5:50 AM
Bono
Bono - avatar
+ 1
No
16th Dec 2018, 5:47 AM
Calviղ
Calviղ - avatar