In this post i would like to explain how to apply style to a link by using file type. In our web projects we can use many type of links (External link, PDF file, ZIP file, mailto, doc file, etc…) and we can style each link by link file type without using any class or id.

