Page 1 of 1
<head profile="#">
Posted: Fri Mar 05, 2004 5:17 pm
by MetalElmo
I went looking at the source for W3C's web page, and i saw this
Code: Select all
<head profile="http://www.w3.org/2000/08/w3c-synd/#">
What is the "profile" code for?
Posted: Sun Mar 07, 2004 4:51 pm
by no_memories
It's a link to a set of definitions similar to a DTD defining the included meta tag information. You, the webmaster, would make this definition in a simple text file and put the file in a corresponding directory to be fetched when the page loads.
For more information on how and why meta tags are used, do a search on the W3C's website for "meta".
HEAD Profiles
W3C:
The profile attribute of the HEAD specifies the location of a meta data profile. The value of the profile attribute is a URI. User agents may use this URI in two ways.
1. As a globally unique name. User agents may be able to recognize the name (without actually retrieving the profile) and perform some activity based on known conventions for that profile. For instance, search engines could provide an interface for searching through catalogs of HTML documents, where these documents all use the same profile for representing catalog entries.
2. As a link. User agents may dereference the URI and perform some activity based on the actual definitions within the profile (e.g., authorize the usage of the profile within the current HTML document). This specification does not define formats for profiles.