I've found this code here and I need to know if someone knows how can I label all the figures to be able to make a reference to them in the text and to appear for example: "In figure 1A..."
\documentclass[12pt,a4paper]{article}
\usepackage{graphicx}
\usepackage{float}
\begin{document}
\begin{figure} [H]
\centering
\begin{tabular}{cccc}
\includegraphics[width=0.3\textwidth]{example-image-a} &
\includegraphics[width=0.3\textwidth]{example-image-b} &
\includegraphics[width=0.3\textwidth]{example-image-c} \
\textbf{(a)} & \textbf{(b)} & \textbf{(c)} \[6pt]
\end{tabular}
\begin{tabular}{cccc}
\includegraphics[width=0.3\textwidth]{example-image-a} &
\includegraphics[width=0.3\textwidth]{example-image-b} \
\textbf{(d)} & \textbf{(e)} \[6pt]
\end{tabular}
\caption{ \textbf{(a)} Some text
\textbf{(b)} Some text
\textbf{(c)} Some text
\textbf{(d)} Some text
\textbf{(e)} Some text}
\label{fig:Name}
\end{figure}
\end{document}



\ref{fig:1a}for example and it will recognise it as valid – Alejandro Fernández Suárez Nov 21 '20 at 18:27