Objects are the little guys you find in the Insert bar and Insert menu. They represent items users might want to insert into their documents. More specifically , each object represents a snippet of HTML code. When the user selects an object from the panel or the menu, the relevant code is inserted into the current document, usually at the insertion point. Some objects simply insert code; others provide a dialog box that allows the user to customize the code that will be inserted. In this chapter, we'll learn how the object extension type works, how to work with the API to create custom objects, and what sorts of tasks custom objects can be good for.