About H1 Tag

Discussion in 'Search Engine Optimization' started by Ankit Ruhela, May 10, 2013.

  1. #1
    Hello friends, I want to know about h1 tag in seo. Can I use multiple h1 tags on same page if yes why. It may effect my SERP or not.
     
    Ankit Ruhela, May 10, 2013 IP
  2. spids

    spids Active Member

    Messages:
    222
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    58
    #2
    The H1 tag would be the main title for the content.

    Multiple H1 can hurt SEO. It would look like you're over optimizing which big G does not like.

    You can use H2, H3, H4, etc for other headers.
     
    spids, May 10, 2013 IP
  3. Shawn Michaels

    Shawn Michaels Member

    Messages:
    54
    Likes Received:
    0
    Best Answers:
    8
    Trophy Points:
    46
    #3
    HTML h1 tag

    Note: If you don't know what an element/tag is and/or how you must use it we recommend you read our HTML tags and attributes tutorial, which you can find in our HTML tutorials section.

    Table of contents

    1 Description
    2 Examples
    3 Attributes
    3.1 id
    3.2 class
    3.3 style
    3.4 title
    3.5 lang
    3.6 dir
    3.7 align
    4 Events
    Description

    The HTML h1 element contains a first level heading. Headings, serving as titles for pieces of text, help organize the information in the document to achieve a better understanding of the content. They must be a short and concise description of the content treated under them.

    There are six levels of headings (h1 to h6) that allow authors to set titles and subtitles and rank the information in the document. Thanks to this, the headings of a document can be interpreted as its table of contents.

    Browsers may render headings with font sizes greater than the ones used in regular text. The size usually depends on the heading level: it goes smaller when the heading level is lower.

    Note that the "align" attribute for this element has been deprecated in HTML 4.01. Its use is no longer recommended.

    Examples

    In this example, we set up a document with a title ("The HTML h1 tag"), and a subtitle ("Examples") with two subtitles more ("Example 1" and "Example 2"). This anidation of content can go up to the sixth level.

    <h1>The HTML h1 tag</h1>
    <p>...Some content...</p>
    <h2>Examples</h2>
    <h3>Example 1</h3>
    <p>...Example 1...</p>
    <h3>Example 2</h3>
    <p>...Example 2...</p>
    Attributes

    id (name)

    The "id" attribute assigns an identifier to the associated element. This identifier must be unique in the document and can be used to refer to that element in other instances (e.g., from client-side scripts).

    <p id="paragraph1">This is the first paragraph, named "paragraph1". To dynamically change its properties use this identifier.</p>
    class (cdata)

    The "class" attribute assigns a class name (or a list of class names separated by spaces) to the container element. It is used together with style sheets and tells the browser the class (or classes) to which the element is associated.

    A class gives presentational attributes to elements (read more at the Cascading Style Sheets tutorial).

    <p class="references">This article is based on the book "Wind in the trees" by Jhon L. Brooks</p>
    <p class="references important">This article is based on the book "Wind in the trees" by Jhon L. Brooks... and is more important than the one before.</p>
    style (style)

    This attribute is used to define presentational attributes for the containing element, and its value should be composed by style sheets properties. Although in some cases it can become useful, a better practice is to place presentational attributes in external files, relating them to elements with the "class" attribute. This way you keep the semantic and presentational parts of your document separated.

    You can find more information about presentational attributes at the Cascading Style Sheets tutorial.

    <p style="color: #0000FF; font-size: 12pt">This is a paragraph with a defined style.</p>
    <p>And this is another text without style.</p>
    title (text)

    The purpose of this attribute is to provide a title for the element. Its value must be a short and accurate description of the element. Browsers usually render it as a "tool tip" when the user puts the mouse pointer over the element for a short period of time.

    Code
    <a title="HTMLQuick.com" href="http://www.htmlquick.com">HTML code</a>
    View
    HTML code
    lang (langcode)

    Specifies the language of an element's content. The default value is "unknown".

    When writing XHTML 1.0 documents, the attribute used to specify the language of an elements is "xml:lang". For forward and backward compatibility both attributes can be used simultaneously as in the example below. Note, that in XHTML 1.1 the "lang" attribute has been completely replaced by "xml:lang" and its use is no longer valid.

    <p lang="en" xml:lang="en">This is a paragraph in English.</p>
    <p lang="es" xml:lang="es">Este es un párrafo en español.</p>
    dir

    This attribute indicates the direction in which the texts of the element must be read. This includes content, attribute values and tables. It has two possible values that are case-insensitive:

    RTL: Right to left.
    LTR: Left to right.
    <q lang="he" dir="rtl">...an Hebrew quotation...</q>
    align

    This attribute has been deprecated in HTML 4.01. Therefore its use is no longer recommended.

    It defined the horizontal alignment of its content. Possible values (case-insensitive) are:

    left: Text is aligned to the left margin.
    right: Text is aligned to the right margin.
    center: Text is centered.
    justify: Text is justified to both margins.
    <h1 align="right">Text aligned to the right.</h1>
    Events

    onclick
    ondblclick
    onmousedown
    onmouseup
    onmouseover
    onmousemove
    onmouseout
    onkeypress
    onkeydown
    onkeyup
    See a complete list and information about events in HTML
     
    Shawn Michaels, May 10, 2013 IP
  4. OSSEO

    OSSEO Active Member

    Messages:
    1,430
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    53
  5. SERPpoint

    SERPpoint Active Member

    Messages:
    834
    Likes Received:
    17
    Best Answers:
    2
    Trophy Points:
    63
    #5

    You can use h1 tag once on a page, you can use other sub-heading tags like h2, h3 etc..
     
    SERPpoint, May 11, 2013 IP
  6. Revelations-Decoder

    Revelations-Decoder Well-Known Member

    Messages:
    3,028
    Likes Received:
    152
    Best Answers:
    4
    Trophy Points:
    190
    #6
    All bollocks.

    What if you have a mobile page which is navigated through the top menu and each section you slide along/down to is having a "H1 tag" heading?

    What happens is you have more than one h1 tag on "a page" working fine and dandy thank you very much with (to quote others) no "over optimizing which big G does not like", as having H1 tags on page is not "over optimisation" whatever you might think "over optimization" might be.
     
    Last edited: May 11, 2013
    Revelations-Decoder, May 11, 2013 IP