Using Attribute Selectors to choose only mailto anchor type
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en'> <head> <title>Attribute Selectors</title> <style type='text/css'> * { font: 14px sans-serif; } a[href^="mailto:"] { background: url('envelope.png') no-repeat left center; padding-left: 25px; color: royalblue; text-decoration: none; } </style> </head> <body> <a href='mailto:webmaster@example.com'>Email the webmaster!</a> </body> </html>