A custom tag library is implemented as an OSGi bundle that contains a Java class that extends TagSupport. For information, see Class TagSupport.
You also need to define a tag library descriptor (TLD) file and bundle that within the OSGi bundle. For information, see Tag Library Descriptors.
After you develop an AEM custom tag library, you can invoke its actions from an AEM component. For example, the component can display information about a content, as shown in the following illustration.
To read this development article, click https://helpx.adobe.com/experience-manager/using/customtags1.html.
Adobe Digital Marketing Community
Join the Adobe Digital Marketing Community. Start by clicking this banner