After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
SEO friendly H1 tag with 2 text lines
-
Hi everyone,
I am trying to add span tags in H1, break tag on 2 lines and style each line of H1 differently:
Example:
Line 1Line 2
I might add a smaller font for line 2 as well... Is this SEO friendly?
Will crawlers read entire text or can interfere and block it.
Thank you!
-
Excellent! Thank you All!
-
Looking at your code example, you will have a single H1 on your page. That is fine and recommended.
The rest of what you are doing is styling. Search engines will not care about that as long as you are not playing games like white text on a white background, etc.
Herb
-
I agree with most of what Roman said 2 h1 will not be the end of the world.
still I thin it is something I would avoid I would use the h1 as the on page introduction and then use as many h2’s
as needed Google still looks at the h1 tag
google dose try to look at your site design it crawls css & JS like in fetch as a Google Bot
Hope that helps,
Tom
-
The Crawler looks for content not for design technically you are talking about how to style your H1. That is a CSS topic you don't have to worry about that as long your tag and your content is relevant.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Explore more categories
-
Chat with the community about the Moz tools.
-
Discuss the SEO process with fellow marketers
-
Discuss industry events, jobs, and news!
-
Chat about tactics outside of SEO
-
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
-