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 IRC (such as one of these permanent autoconfirmed members).

Class

From WHATWG Wiki
Revision as of 15:52, 11 August 2010 by Pigsonthewing (talk | contribs) (Suggested wording: +1)

Jump to: navigation, search

There are many misapprehensions (citations to follow) abound about the purpose of the class attribute, which is often referred to, plural, as "CSS classes".

The wording in the spec should be changed to more clearly indicate the semantic nature of the class attribute, when used properly, and indicate the validuty of its use in this way.

Current wording

...

Suggested wording

Please add and sign suggestions, so that a composite may be produced at later date

  • ...may be used for labelling, styling or indicating meaning" Pigsonthewing 15:49, 11 August 2010 (UTC)
  • ...may be used for labelling, styling or indicating semantics" Pigsonthewing 15:51, 11 August 2010 (UTC)
  • ...although classes allow content to be styled, they should be named to convey semantic meaning" Pigsonthewing 15:52, 11 August 2010 (UTC)

Prior discussion

Bug