I am doing an SEO clean up and have multipe H1 tags on a singular page. When changing them to H2 tags it changes the format adding an extra line underneath the title. Is there any way to make the H2 tag the exact format as the H1 tags.
Hello @ameliai
you can do that with css.
Example:
your h1 is e.g. 72px
and so that the size e.g. is the same, you write
h2 {
font-size: 72px;
}
for colors you use
h2 {
font-size: 72px;
color: blue
}
the whole thing can go further, but I think like font-weight etc. but you’ll find that out.
I hope I could help you here
Best regards
Özcan
Hi Ozcan,
Thank you for replying. The font format is manageable however it is this line that appears. Our H1 format is how the ‘About This Service’ is. We want our H2 tags to be the same with the partial line underneath, however when changing to H2 it add a whole underline which cannot be removed unless we change the heading back to H1. This is the same for H3, H4 …
Is this something that can be changed?
Many Thanks
Amelia


The problem is that HTML is not a style language. HTML is a markup language and changing the style h1 to h2 is due to CSS not HTML. You have to style your h2, h3 etc like your h1.
Best regards,
Özcan
Thank you for your help Ozcan!
Hi @ameliai ,
Just going to throw this out there that Google has clearly indicated that there is not a limit for H1 tags on a page, as long as the structure of your content makes sense, you should style the page and use the various headings in a way that makes the most sense for your site visitors (this is a great article covering the topic).