A tag library descriptor (TLD) is an XML document that describes a tag library, which is a collection of custom actions, which are portable elements included in a JSP page that act on server-side objects. The JSP container uses the TLD to interpret tag library directives inside JSP pages.