I'm new to AEM and now I'm on a project that is based on AEM 6.0 (later we migrate on 6.4 but now we work on 6.0). Recently I discovered that it's possible to add to a component the node cq:htmlTag and inside it the properties class, id and tagName.
On component inside the content folder it works perfecly but if the component is inside a subfolder it doesn't work.
I searched all around the web but I don't found the solution.
Is there a reason why it doesn't work inside a subfolder? Is there a properties to add to the folder that enables these functionalities to the components inside this subfolder?