in this example, how can I customize \autoref. ie instead of printing table 1, it puts Tab.1
same question with Figure = Fig. and equation = Eq.
\documentclass{article}
\usepackage[T1]{fontenc}
%\usepackage[francais]{babel}
\usepackage{graphicx}
\usepackage[font=footnotesize,labelfont={bf,sc,small},figurename=Fig.,tablename=Tab.]{caption}
\usepackage[colorlinks=true,linkcolor=blue]{hyperref}
\begin{document}
change the writing of \autoref{tab} to Tab.1
\begin{table}[htbp]
\begin{center}
\begin{tabular}{|l|l|}
\hline
table & Tab. \\
\hline
figure & Fig. \\
\hline
equation & Eq. \\
\hline
\end{tabular}
\end{center}
\caption{Exemple d'environnement table}
\label{tab}
\end{table}
\end{document}

\autorefcommand provided by thehyperrefpackage, I've removed theclevereftag, added thehyperreftag, and removed the instruction\usepackage{cleveref}. If, however, the question is really meant to be about thecleverefpackage and its command\cref, please indicate that that's the case. – Mico Nov 06 '13 at 22:18