SEO can id and class be used in H1?
-
Can ID and class be used in my H1 tag. I realize best case would be to change it, but it's going to require a change order from the ecommerce company to fix their sloppy code. Will this hurt seo?
Example:
-
Absolutely agree with Dana here. Stylizing H1 elements is very common, both classes and ids can be used to achieve this.
-
Hi Keith,
This it totally fine. Using class within the
is very common. The ID isn't a problem. Googlebot still understands that this is an
. I think as time goes forward, some of these technical SEO elements will become less important. Search engines are going to understand, particularly as HTML5 becomes more widely adopted, that <h>tags are used as much to define stylistic elements as structural elements. Hope that helps!
Dana</h>
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
What Schema would a Web design/development/seo ageny use and what is the schema.org link?
What Schema would a Web design/development/SEO Ageny use, and what is the schema.org link? I cannot for the life of me figure it out. ProfessionalService has been deprecated.
On-Page Optimization | | TiagoPedreira0 -
Advantage of using LocalBusiness rich snippets?
I am working on a website that has company profile pages. What are the advantages of using LocalBusiness rich snippets for profiles?
On-Page Optimization | | calf0 -
Yoast SEO plugin
I love Yoast's WP plugin, but is there one of comparable quality that analyzes for more than one KW at a time?
On-Page Optimization | | SSFCU0 -
Can you use multiple keywords for on page for ranking?
I understand using a keyword (or phrase) and correctly building that into the site structure (URL, Title Tag, body, etc). So, this question is going to be elementary, but I am starting to question myself as I write content. I have a client, for example, that has a new site and a page for Chocolate cakes. Now the other pages they built out are for Cheesecakes, Cupcakes, etc. So we optimized the Chocolate cakes page with our keyword throughout (Getting an A+ on page content grade). But now they are asking me why they can't be found for chocolate eclairs, chocolate fudge cake, devils chocolate cake, double chocolate cake, etc. My first quick answer is that they should build more pages. But am I doing this wrong?
On-Page Optimization | | cschwartzel0 -
Latest SEO Factors
What is the most recent report you have for "factors" that impact SEO --- you guys had one a few years ago and I don't see a recent report. This was based on a panel of experts I believe.
On-Page Optimization | | mommybu0 -
Can I place H1 tag anywhere on page
Hello, For those of you who use Magento you will know it is not SEO friendly. When you create a category or product, the name of the product or category then becomes the H1 tag. We sell mens business shirts. For example we have a product called 'White poplin classic fit' this is also the H1 tag, nobody is ever going to search for that term so I have had my developer create a new attribute that allows me to keep the product name as it is and let's me create a new SEO friendly H1 tag, for example 'White business shirt' However, placing 'White business shirt' on the page to be visible by the visitor does not look good on the page. My question is. Can I place the H1 tag anywhere on the page? I have some tabs like below. I am thinking of add a tab in between delivery and returns called more info and placing more seo keywords including the H1 tag in this tab. Will this be OK or will this be seen as black hat technique?
On-Page Optimization | | mullsey0 -
SEO pluses/minuses of Content used in pop-up windows
I am curious to know what advantages/disadvantages there are to placing content in pop-up windows ( lightbox, etc.). My understanding is that the content can be heavily optimized, but if a user lands on the page where the content is, how will they find it if it is hidden within a pop-up? I guess it is more a of a user experience issue rather than an SEO issue? or not? Hopefully that makes sense. Gary
On-Page Optimization | | Apptixweb0 -
Can you optimize for 2 keywords per URL?
Or should you just stick to 1 page, 1 keyword all the time? If you do 2, are there any things you should watch out for? Thanks
On-Page Optimization | | inhouseninja0