Truly Semantic Classes and Ids

Just a little thought before leaving for work. How funny would it be if we used truly semantic classes and ids in our XHTML? Instead of pretending it’s a “container” or “event-holder” or whatever other text we use to try to fool ourselves into semantic meaning, what if we were truly honest about the role that element was playing? For example:

  • im-no-css-jedi
  • because-multiple-background-isnt-implemented
  • ie-wont-clear-this-damn-thing
  • i-can-hang-another-background-off-this
  • bottomless-pit-for-my-dom-wickedness
  • should-have-been-a-list
  • because-ive-never-heard-of-fieldset
  • must-have-rounded-corners\
    I think it’ll catch on. Got more?

Comments

2 responses to “Truly Semantic Classes and Ids”

  1. Eric Meyer Avatar

    I used as class of “ie-fix” in a recent project. I think that was, in fact, an abbreviated “ie-wont-clear-this-damn-thing”.

  2. Dossy Shiobara Avatar

    because-standards-arent
    wish-this-were-a-table

To respond on your own website, enter the URL of your response which should contain a link to this post’s permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post’s URL again. (Find out more about Webmentions.)