Can someone tell me why we small tag when we have H6 tag both work similar | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Can someone tell me why we small tag when we have H6 tag both work similar

<small></small> VS <h6></h6>

31st Dec 2022, 11:27 AM
WarLord
WarLord - avatar
3 Answers
+ 3
<small>inline element, normal small text </small> <h6>header , (it's important in page). block level element, style bold text. Also it helps in SEO(Search Engine Optimization) </h6>
31st Dec 2022, 11:41 AM
Jayakrishna 🇮🇳
+ 2
It is not recommended to use h tags just to get smaller or bigger text, it is recommended to use css. If using small tag make sense in your page (if this text is less important, and you need inline element) then use it. I also suggest you to read some SEO books, there are lot of them, even free, so you can understand how tags effect seo. You don't need to be seo expert, but having some knowledge will be helpful.
31st Dec 2022, 12:00 PM
PanicS
PanicS - avatar
+ 2
Thanks this will help me
31st Dec 2022, 3:46 PM
WarLord
WarLord - avatar