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.