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

by 3 replies
4
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!
#search engine optimization #code #google #identify #source
  • It's still an H1 tag.
    • [ 2 ] Thanks
    • [1] reply
  • Banned

    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.

Next Topics on Trending Feed