If you want to know which template is generating a particular markup element, you can use Twig's debug option.
Besides the name of the template files it also reveals its location.
You enable Twig debugging in sites/default/services.yml. Set the variable debug in the section twig.config to true.
After you have set
debug to true, clear the caches.