magento 2 template path hints

Go to admin panel:

1. For Front End:

Store > Configuration > Advanced > Developer > Debug > Enabled Template Path Hints for Storefront > Yes


2. For Admin :

Store > Configuration > Advanced > Developer > Debug > Enabled Template Path Hints for Admin > Yes