SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Enthusiast
    Join Date
    Nov 2009
    Posts
    56
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Is it essential to use the profile attribute in the head element?

    I've been reading the sitepoint html reference and i see a profile attribute for the head element.

    Is it important?

    What value to you pass in? i know it's a URI but what URI..Not sure why we need to use this attribute?

  2. #2
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,784
    Mentioned
    25 Post(s)
    Tagged
    1 Thread(s)
    It is the URI that points to your profile document. You only need this attribute if you have a profile document to link to it.
    Stephen J Chapman

    javascriptexample.net, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">

  3. #3
    Follow: @AlexDawsonUK silver trophybronze trophy AlexDawson's Avatar
    Join Date
    Feb 2009
    Location
    England, UK
    Posts
    8,111
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Basically the profile attribute (with space separated URI's) only comes into action if you use custom conventions such as Microformats, these happen to be the main use for the profile attribute in HTML documents such as XFN - XHTML Friends Network, OpenSearch (that custom search engine box in the top right of most browsers) and the DCMI - Dublin Core MetaData Initiative. Other than that it's not really got much inherent value as browsers don't actually do much with the information.

  4. #4
    SitePoint Enthusiast
    Join Date
    Nov 2009
    Posts
    56
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks fellgall and Alex.

    I shall basically ignore this and only dwell in it if i get in to advance stuff like microformats..


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
  •