+ Reply to Thread
Results 1 to 3 of 3

Thread: Basic HTML - resolving the confusion over 'Title'

  1. #1
    Top Contributor
    Join Date
    Feb 2010
    Location
    Nr Manchester UK
    Posts
    2,112
    Thanks
    287
    Thanked 643 Times in 372 Posts
    Rep Power
    35

    Basic HTML - resolving the confusion over 'Title'

    In the interests of keeping this thread on topic but still resolving the confusion that has arisen over exactly what 'Title' actually is, I thought I'd start a new thread about it.

    Simply put:

    Title Element

    <title> is an HTML document 'HEAD' element (often referred to by developers as the title tag) that requires opening and closing HTML tags like this -

    <title>Your page title goes here</title>
    .

    It's used in the HEAD section of the document and shows the text it contains in the top browser bar and in the SERP listings as a link to your page. It's important both for humans and for SEO. <title> is not meta data.

    Title Attribute

    title=""
    is an 'attribute' of an HTML tag and is used to provide extra information about an image or a link for example. It doesn't have opening and closing tags itself, it goes inside the tags like this:

    <img src="lion.jpg" title="Picture of a lion" />


    Browsers and other user agents like screen readers render the title attribute in different ways but generally it's used for reasons of Accessibility. It's more useful for real people than for SEO.

  2. The Following User Says Thank You to JJMcClure For This Useful Post:

    Clinton (January 15th, 2011)

  3. #2
    Administrator
    Join Date
    Jan 2010
    Location
    Essex, UK
    Posts
    7,301
    Blog Entries
    30
    Thanks
    3,922
    Thanked 2,663 Times in 1,507 Posts
    Rep Power
    102
    Very clear explanation, thanks JJMcClure. The title attribute can be used for any element on the page whereas the title element goes, as you say, in the HEAD.

    To add to what you've said, and for those new to this site, the alt attribute is for images and adds a text description of the images to help both humans and bots:
    <img src="image.jpg" height="200" width="200" alt="Sales figures for April 2002">
    Show your support - Like us on Facebook

  4. #3
    Top Contributor
    Join Date
    Feb 2010
    Location
    Nr Manchester UK
    Posts
    2,112
    Thanks
    287
    Thanked 643 Times in 372 Posts
    Rep Power
    35
    Quote Originally Posted by Clinton View Post
    The title attribute can be used for any element on the page whereas the title element goes, as you say, in the HEAD.
    Good point, I should also have pointed out that the Title attribute is used in the <body> of the HTML document. Some browsers display it as a tooltip type popup.

+ Reply to Thread

Similar Threads

  1. I design, know css, html, basic PHP etc, wordpress & ecommerce.... Where to start??
    By thenugget86 in forum Making Money Online, Monetization
    Replies: 3
    Last Post: January 29th, 2011, 7:06 PM
  2. Title tag
    By BritishARMY in forum Website 101
    Replies: 2
    Last Post: September 2nd, 2010, 5:30 AM
  3. Hi everyone (because not every other thread in this forum has the same title)
    By mgallone in forum Welcome! Please Introduce Yourself
    Replies: 4
    Last Post: April 29th, 2010, 3:48 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts