Drag a .jpg or .gif into an HTML document and you'll get an <img> tag created. A dialog will popup giving you the chance to modify stuff like the alt attribute.
Cmd-drag a file from the finder into a document and you'll get the file path inserted, a sample drag and you'll get the file's contents inserted.