h1 - Is Google able to identify this source code as h1?

3 replies
  • SEO
  • |
Is Google able to identity this headline as h1? Can the additional added information (class="we_accept_tag_line" style="margin-bottom:0px") cause irritations?

This is the whole part of the source code:

<h1 class="we_accept_tag_line" style="margin-bottom:0px">I'm a headline for a website</h1>


Thanks!
#code #google #identify #source
  • Profile picture of the author MikeFriedman
    It's still an H1 tag.
    {{ DiscussionBoard.errors[10035155].message }}
    • Profile picture of the author ClaudeMonet
      Thank you! Good to hear!
      {{ DiscussionBoard.errors[10035161].message }}
  • Profile picture of the author yukon
    Banned
    Originally Posted by ClaudeMonet View Post

    Is Google able to identity this headline as h1? Can the additional added information (class="we_accept_tag_line" style="margin-bottom:0px") cause irritations?

    This is the whole part of the source code:

    <h1 class="we_accept_tag_line" style="margin-bottom:0px">I'm a headline for a website</h1>


    Thanks!

    The class is for visual on-page styling (CSS).

    When in doubt, always look at the text version of the webpage like a Google Cache (text version) or use a web/dev browser plugin to simulate a text version of the page.

    The example code is styling with both CSS & inline styles, that could all be condensed down to a CSS file for cleaner HTML code.
    {{ DiscussionBoard.errors[10035422].message }}

Trending Topics