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>
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
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
-
SEO question
why does a business rank differ on google search and google maps (for example, a hair salon we do seo for ranks 5th for "hair salon in Dublin" on Google Maps and ranks 10th on Google search)
On-Page Optimization | | ryan.mamma0 -
Website and seo for categories and pages
I have a website with a number of specific locations listed in a directory. The locations are in categories but i also have several pages with the same titles and descriptions. Will this be a problem when it comes to seo
On-Page Optimization | | twiguins0 -
SEO for a Italian customer
Ciao tutti, Should I include 300 characters for all my customers' page meta descriptions? Some colleagues told me about this but I'm not really sure. Thanks in avance Marco
On-Page Optimization | | BestSEOItaly3 -
WP SEO plugin
When working with WP sites I generally use Michael Torbert's All in One SEO Pack. I've encountered a few examples where when the homepage shows up on a Google search results page the title/title tag shows up as {Business Name:} | {Keyword/Description}. In the 'General Settings' of the plugin in the 'Home Title' field, I have it listed as {Keyword/Description} | {Business Name} I'm not sure why the order is getting switched and where the ':' comes from. I'm not sure if this even has any adverse effect. If anyone has had experience with this, your input would be appreciated. Note - I'm not seeing this issue reflected on Bing.
On-Page Optimization | | stevefidelity0 -
Unified Modeling Language and SEO
Hi folks, I work for a company that has German Clients.
On-Page Optimization | | cvissi
I wanted to know if I should use Unified Modeling Language for the tittles and meta descriptions? What is better, for example ü or ü Best regards,Elvis0 -
Multi-Site SEO using Host Headers
Hi - I'm working on a proposal for a client who runs 3 different career websites. He uses "host headers" to direct the website visitor to the correct website. For example, if the visitor comes from Washington he goes to one url. If he is in Kansas, he goes to another URL. Does anyone have any experience doing SEO with this type of system? What do I need to know? What are hurdles I'll encounter? Thanks, -Hunter
On-Page Optimization | | HunterW0 -
How to organize a Knowledge Center for best SEO?
Hi, My Client is facing pushback from her company on separating assets into different pages (webinars, press releases, by-lines, etc) vs lumping them all together in one page. We need to define the SEO benefits of doing this in an organized fashion vs one big lump. Can you help? Thanks,
On-Page Optimization | | ScratchMM0