The hreflang tags for pages targeted to the USA in English, Spain in Spanish and Mexico in Spanish would be as follows:
For the USA in English:
Copy code
``
For Spain in Spanish:
Copy code
``
For Mexico in Spanish:
Copy code
``
These tags should be placed in the head section of each corresponding page.
It's important to note that the hreflang attribute tells search engines what language and geographical target a page is relevant for. This helps search engines to serve the correct version of a page to users based on their language and location.