diff --git link.module link.module
index e2014c5..f316d22 100644
--- link.module
+++ link.module
@@ -385,6 +385,9 @@ function _link_sanitize(&$item, $delta, &$field, &$node) {
 
   // Add the widget label.
   $item['label'] = $field['widget']['label'];
+
+  // Add discovered 'type'.
+  $item['type'] = $type;
 }
 
 /**
@@ -540,6 +543,10 @@ function link_field_formatter_info() {
  * Theme function for 'default' text field formatter.
  */
 function theme_link_formatter_default($element) {
+  // Add a class with the link type.
+  if (!empty($element['#item']['type'])) {
+    $element['#item']['attributes']['class'] .= ' link-'. $element['#item']['type'];
+  }
   // Display a normal link if both title and URL are available.
   if (!empty($element['#item']['display_title']) && !empty($element['#item']['url'])) {
     return l($element['#item']['display_title'], $element['#item']['url'], $element['#item']);
