Keep data, appearance and behaviour separate
Returning to our original table for the uses of web technology and adding to it:
|“what something is”||“how something looks”||“how something acts on the page”|
|semantic markup of data||rules for appearance of content||rules for the behaviour of content|
Mixing the roles of these technologies leads to frustration and confusion.
Photograph by Massimo Valiani, used under a Creative Commons Attribution-NonCommercial 2.0 Generic license
Enjoy this piece? I invite you to follow me at twitter.com/dudleystorey to learn more.