HTML: font tag VS h1 tag

3 replies
  • SEO
  • |
Hi,

I think google prefers h1 tag over font tag. But the font tag of size more than 4 appears bigger in browser than the h1 tag. and google loves big bold headers as keywords. So what should I use? font tag with size 4+ or h1 tag, to promote a keyword as header of page.
#font #font tag #h1 tag #html #tag
  • Profile picture of the author CDarklock
    Originally Posted by softsolutions View Post

    I think google prefers h1 tag over font tag.
    That's because the font tag is deprecated and you're not supposed to be using it. Style your H1 - H6 tags as desired using CSS syntax, whether in the "style" attribute of the tag, or a "style" section in your header, or (preferably) an actual CSS stylesheet loaded with a "link" tag in your header.
    Signature
    "The Golden Town is the Golden Town no longer. They have sold their pillars for brass and their temples for money, they have made coins out of their golden doors. It is become a dark town full of trouble, there is no ease in its streets, beauty has left it and the old songs are gone." - Lord Dunsany, The Messengers
    {{ DiscussionBoard.errors[3085775].message }}
    • Profile picture of the author leclaims
      Originally Posted by CDarklock View Post

      (preferably) an actual CSS stylesheet loaded with a "link" tag in your header.

      Agreed, this will reduce redundancy in the code across your site because you won't have to define the style properties every time you want to use the style attribute in your h1 tag.
      {{ DiscussionBoard.errors[3085845].message }}
      • Profile picture of the author JohnMcCabe
        The H1-H6 tags were never meant for formatting. They're meant as indicators of organization.

        Think of like the traditional outline you were likely taught in school

        H1
        .....H2
        .........H3
        .........H3
        .....H2
        .........H3
        .........H3

        and so on.

        Use the heading tags to convey the relative importance of headings. Use CSS to style the text.
        {{ DiscussionBoard.errors[3085971].message }}

Trending Topics