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
-
Use of subfolders for my casino directory
Been trying to find an answer to this for some time, so I hope someone can lend me a hand.. I've started building out my casino website Nerdybet, which will list regulated gaming vendors within each US state. A part of the idea is to create a high level web directory of legal betting sites. Now, say I want to list all legal casinos within a specific US state. What's the most search engine friendly way to build out the hierarchy? To clarify, this will be the main casino directory page: https://www.nerdybet.com/gambling-sites-directory Based on that, I can now pick either: a) Nerdybet.com/gambling-sites-directory/stateX
On-Page Optimization | | llevy
b)Nerdybet.com/stateX Which method would you say is best? And why so? Thank you.1 -
How to peroperly use h1 , h2 and h3 tag on your website.
Is it better to have different h1 for each page or have the same h1 across the site. I am using h1 fin wordpress for beside that I have 4 more h1 in the same page how to properly use h2 and h3 can we have muliple h2 on a page. what would be an ideal hx tag order be ? h1
On-Page Optimization | | conversiontactics
h2
h2- h3 h3 If anyone can provide some answers Many thanks0 -
How Much Does Punctuation of a Word Effect SEO?
I have a page on a site that is targeted for "mens hair cut" and I have received a F for the grade. The content on the page uses "men's" throughout the content. (proper punctuation) When I re-graded the page with "men's hair cut" the page received a B grade. My question is, does mens v.s men's make a different for on-page SEO? Should my targeted keywords include "men's" rather than "mens"?
On-Page Optimization | | Kdruckenbrod0 -
SEO for Online Auto Parts Store
I'm currently doing an audit for an online auto parts store and am having a hard time wrapping my head around their duplicate content issue. The current set up is this: The catalogue starts with the user selecting their year of vehicle They then choose their brand (so each of the year pages have listed every single brand of car, creating duplicate content) They then choose their model of car and then the engine And then this takes them to a page listing every type/category of product they sell (so each and every model type/engine size has the exact same content!) This is amounting to literally thousands of pages being seen as duplicates It's a giant mess. Is using rel=canonical the best thing to do? I'm having a hard time seeing a logical way of structuring the site to avoid this issue. Anyone have any ideas?
On-Page Optimization | | ATMOSMarketing560 -
SEO Title Tag Best Practice?
Hi, I would like to know if appending site name at the end of page title ( page title -_ Site Name/Site URL_ ) is a good/bad practice in reference to SEO? If a good practice which is better ( Site Name or Site URL )? Example: 20 Things you didn't know about zombies - coed.com Thanks in advance
On-Page Optimization | | COEDMediaGroup0 -
IFRAMES - SEO Question
If 30 websites IFRAM my website, is there any SEO advantage for me? Does google register time on site, metrics on how far in to my site the user goes? I have a real estate site with listings (homes for sale). Agents want to use my listing feed on their sites via an iframe. The clients would be scrolling through my listings through an iframe. SEO advantages for me? Disadvantages for the real estate agent using my listings?
On-Page Optimization | | JML11790 -
SSL sites and SEO
I'm seeing a lot about how SSL sites can negatively affect SEO from the analytics perspective, but if duplicate content issues are addressed and load times are OK, what else is there to worry about? Any advice is much appreciated. Thank you!
On-Page Optimization | | PerfectPitchConcepts0 -
SEO Titles and Keyword Density
Hey guys, I'm doing some on page SEO for a few clients and I've always wondered about this question. I have read tons of articles on the perfect <title>tag, but they don't often mention this.</p> <p>So my titles, like most others follow this format:</p> <p>Keyword 1 | Keyword 2 - Company</p> <p>So say for example I am trying to rank for 'life insurance' and 'life insurance quote' for 'axa sunlife'.</p> <p>It's my assumption that the title should be:</p> <p>Life Insurance Quote - Axa Sunlife</p> <p>rather than:</p> <p>Life Insurance | Life Insurance Quote - Axa Sunlife</p> <p>Am I right in thinking that putting it twice has no added value, and could in fact have an adverse effect?</p> <p>Thanks,</p> <p>Lewis.</p> <p> </p></title>
On-Page Optimization | | SEOMyGod0