A user account is required in order to edit this wiki, but we've had to disable public user registrations due to spam.

To request an account, ask an autoconfirmed user on Chat (such as one of these permanent autoconfirmed members).

ClassExtensions: Difference between revisions

From WHATWG Wiki
Jump to navigation Jump to search
(add a new proposed class attribute value for <em>: "ct")
(the key word has to be lowercased)
Line 29: Line 29:
   <td>ct
   <td>ct
   <td>em
   <td>em
   <td>Indicates that the element represents a conformance term. The element must have a single text node who's value is one of the key words defined by [http://ietf.org/rfc/rfc2119 RFC 2119]. It is expected that this class will mainly be used in specifications.
   <td>Indicates that the element represents a conformance term. The element must have a single text node which value is one of the key words defined by [http://ietf.org/rfc/rfc2119 RFC 2119], *lowercased*. It is expected that this class will mainly be used in specifications.
   <td>none
   <td>none
   <td>rfc2119
   <td>rfc2119

Revision as of 14:26, 17 December 2006

This page lists the allowed extension values for the class="" attribute in HTML5. You may add your own values to this list, which makes them legal HTML5 class names. We ask that you try to avoid redundancy; if someone has already defined a name that does roughly what you want, please reuse it.

Keyword Applicable elements Brief description Link to more details Synonyms Status
msonormal All elements A value used by Microsoft Office HTML output to mean nothing (literally). none Unendorsed
price span Indicates that the element represents a price. If there is a child element abbr, then the title of that element gives the currency. The textContent of the element, ignoring the contents of the abbr element, if any, must be a valid floating point number. none Proposal
ct em Indicates that the element represents a conformance term. The element must have a single text node which value is one of the key words defined by RFC 2119, *lowercased*. It is expected that this class will mainly be used in specifications. none rfc2119 Proposal

For the "Status" section to be changed to "Accepted", the proposed keyword must have been through the Microformats process, and been approved by the Microformats community. If it fails to go through this process, it is "Unendorsed".

For more details, see the HTML5 specification.