0

How can we write <h1> tag two times in page ?

For SEO purpose

27th Apr 2020, 5:52 AM
Mital Dave
Mital Dave - avatar
2 Answers
+ 1
Technically, using more than once <h1> by page is not forbiden by the html specifications, so you could use two or more with keeping a valid html code from w3c and validators point of view... If SEO don't like that, and it does matter, you could avoid that by using <h2> instead of either all your virtual <h1> or only all the additional ones, that you css style as you want (as your <h1> in practice): that would be enough without really limiting you, because use of all range from <h1> to <h6> is rarely needed (and even in such case, you could duplicate some by adding class to them and/or others containers -- <header> is surely the semantically best suited for that)
27th Apr 2020, 6:47 AM
visph
visph - avatar
0
Technically SEO will not supported more than one <h1> tag in page
27th Apr 2020, 6:01 AM
Mital Dave
Mital Dave - avatar