@Bayoumi-dev
Posted
Hey Arey, It looks good!...
- Using more than one
<h1>
is allowed by the HTML specification, but is not considered a best practice. Using only one<h1>
is beneficial for screenreader users.
---> Multiple <h1>
elements on one page
I hope this is useful to you... Keep coding👍
Marked as helpful
@arey-dev
Posted
@Bayoumi-dev Thank you!! This is a new knowledge for me. I'll make sure to improve my HTML in this project, and keep learning for future challenges/projects ☺️
@shashreesamuel
Posted
I agree with the above comment in terms of deferring from having multiple h1
tags however in this instance I think it describes the card title in terms of visual hierarchy so it seems to be the most appropriate tag.