Difference between revisions of "html5-profile"

From Microformats Wiki
html5-profile
Jump to navigation Jump to search
(quick first draft)
 
(more references/links, profile attribute for other markup languages, more upfront status disclaimers)
Line 12: Line 12:
  
 
== Status ==
 
== Status ==
HTML5 profile attribute is a microformats.org draft. Public discussion on HTML5 profile attribute takes place on [[html5-profile-feedback]], the #microformats [[irc]] channel on irc.freenode.net, and [http://microformats.org/discuss/mail/microformats-discuss/ microformats-discuss mailing list].
+
HTML5 profile attribute is a work in progress!
 +
 
 +
Please note that currently several sections are incomplete and are being actively worked on.
 +
 
 +
This document may be useful for general conceptual review at this point, but nothing more formal.
 +
 
 +
Public discussion on HTML5 profile attribute takes place on [[html5-profile-feedback]], the #microformats [[irc]] channel on irc.freenode.net, and [http://microformats.org/discuss/mail/microformats-discuss/ microformats-discuss mailing list].
  
 
=== Available languages ===
 
=== Available languages ===
Line 53: Line 59:
 
HTML4.01's definition of the profile attribute has several problems, which are addressed by the following.
 
HTML4.01's definition of the profile attribute has several problems, which are addressed by the following.
  
include [[XMDP]] and Manu's HTML 4.01 errata
+
include [[XMDP]] and [http://html5.digitalbazaar.com/specs/html5-epb.html#html-4.01-errata Manu's HTML 4.01 errata]
 +
 
 +
== profile attribute for other languages ==
 +
This section is '''informative'''.
 +
 
 +
The profile attribute as defined in this specification can be applied to other markup languages (including previous versions of HTML and XHTML) as follows.
 +
 
 +
informative profile attribute processing model for other languages
 +
 
 +
examples of HTML4, XHTML1, SVG, and other markup languages that have a class attribute
 +
 
 +
examples of Atom, and other markup languages that have a rel attribute
  
 
== Copyright ==
 
== Copyright ==
Line 68: Line 85:
 
=== Informative References ===
 
=== Informative References ===
 
This section is '''informative'''.
 
This section is '''informative'''.
* [[XMDP]]
 
 
* [http://w3.org/TR/html401 HTML 4.01]
 
* [http://w3.org/TR/html401 HTML 4.01]
 
* [http://www.w3.org/TR/2002/REC-xhtml1-20020801/ XHTML 1.0 SE]
 
* [http://www.w3.org/TR/2002/REC-xhtml1-20020801/ XHTML 1.0 SE]
 +
* [http://gmpg.org/xmdp/description XMDP description]
 +
* [http://html5.digitalbazaar.com/specs/html5-epb.html#html-4.01-errata HTML 4.01 Errata as documented in Extended Processing Behavior in HTML5]
  
 
== Related Pages ==
 
== Related Pages ==

Revision as of 20:20, 19 February 2010

<entry-title>HTML5 profile attribute</entry-title> The HTML5 profile attribute is a simple way for authors define URLs and meanings for vocabularies used in an element and its descendants. It is based on and generalizes the HTML4 head element's profile attribute for all elements.

Authors
Tantek Çelik (affiliations above)
Manu Sporny (Bitmunk - Digital Bazaar, Inc.)

copyright and patents statements apply.

Status

HTML5 profile attribute is a work in progress!

Please note that currently several sections are incomplete and are being actively worked on.

This document may be useful for general conceptual review at this point, but nothing more formal.

Public discussion on HTML5 profile attribute takes place on html5-profile-feedback, the #microformats #microformats chat channel on irc.freenode.net, and microformats-discuss mailing list.

Available languages

The English version of this document is the only normative version. For translations of this document see the #translations section.

Errata and Updates

Known errors and issues in this document are corrected in resolved and closed issues. Please check there before reporting issues.

This document is currently under development.

Introduction

HTML4 introduced the profile attribute.

XMDP clarified profile attribute processing, and introduced a profile document format based on XHTML which authors could produce and link to using the HTML4 profile attribute.

microformats have XMDP profiles and recommend linking to them using the profile attribute.

Microformats in HTML5 has dropped the profile attribute from the head element.

This document is an extension/addition to HTML5 which provides both a more thorough/rigorous definition of the profile attribute and generalizes it to all elements for scoped indication of vocabularies (similar to how the HTML5 microdata document extends and adds to HTML5).

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.

Format

formal definition of the profile attribute, processing model.

Examples

This section is informative.

hCard with scoped profile

<div profile="http://microformats.org/wiki/hcard" class="vcard">
 <a class="url fn" href="http://tantek.com/">Tantek Çelik</a>
</div>

HTML4 errata

This section is informative.

HTML4.01's definition of the profile attribute has several problems, which are addressed by the following.

include XMDP and Manu's HTML 4.01 errata

profile attribute for other languages

This section is informative.

The profile attribute as defined in this specification can be applied to other markup languages (including previous versions of HTML and XHTML) as follows.

informative profile attribute processing model for other languages

examples of HTML4, XHTML1, SVG, and other markup languages that have a class attribute

examples of Atom, and other markup languages that have a rel attribute

Copyright

Per the public domain contribution requirement of the microformats.org wiki, this specification is released into the public domain.

Patents

This specification is subject to a royalty free patent policy, e.g. per the W3C Patent Policy, and IETF RFC3667 & RFC3668.

References

Normative References

Informative References

This section is informative.

Related Pages

Translations

Read the HTML5 profile attribute document in additional languages:

  • none yet