I maintain a website for a law firm. Originally their main desired keyword was "zoning attorneys." So I created a small banner that has an h1
"ZONING ATTORNEYS" on every page with the attorneys' names inside that div
. This approach has worked well and yielded positive SEO results.
<aside class = "attorneys-container">
<div class = "attorneys-heading-container">
<h1 class = "attorneys-heading">ZONING ATTORNEYS</h1>
</div>
<div class = "attorney-top">
<a href = "{{ site.baseurl }}/attorney-profiles.html">Joe Smith</a>
</div>
<div class = "attorney-bottom">
<a href = "{{ site.baseurl }}/attorney-profiles.html">John Smith</a>
</div>
</aside>
Now their desire is to focus on several keywords including:
- Zoning Attorneys
- Real Estate Attorneys
- Probate Attorneys
- etc...
My initial thought is to create something similar to a carousel image slider, which would have these multiple h1
tags cycle through.
My assumption is that as long as I design the h1
slider to only have one h1
active on the actual html document. Such as when you click 'Inspect Source,' it would only display the active h1
. Then, there would be no penalty for having multiple h1
tags because there really is only one, just different strings going in to that h1
every couple of seconds. Is this a correct assumption or am I missing something?
Also, let's say a crawler indexes my site once a week. The first week the crawler indexes "Zoning Attorneys" in the h1
. The second week the crawler indexes "Probate Attorneys", and so on. Would this fluctuate the rankings of my site for these keywords in a negative way or would the crawler understand what I was doing?