Não faças aos outros homens o que não queres que eles te façam
<windows live messenger ⁄>
<myCurriculum type="pdf" ⁄>
So what is a "behavior"? It is a class that defines how a DOM object (and its contents, surroundings, etc.) will behave. It encapsulates functionality of a certain type of elements. This functionality can be DOM manipulation, event binding, applying styles and effects - whatever it is that you want to do with some group of elements. The point is to capture all that within one class and then be able to apply that class to anything and access its functionality from anywhere - all that without having to write crappy code.