Question is as in the title.
Using \href, we will be able to give a "clickable" link along with text. Can we do the same with \ref. Suppose I want to refer an equation with label \label{equation:123}, I usually write Equation \ref{equation:123}. Is there a way to write something like \ref[Equation]{equation:123} or \ref{Equation}{equation:123} similar to \href{00}{00}?
\documentclass[12pt,reqno,a4paper]{amsart}
\usepackage{extsizes}
\usepackage{blindtext}
\textheight 9.3in \textwidth 6.5in
\calclayout
\usepackage{amsmath,amsthm,amsfonts,amssymb}
\theoremstyle{definition}
\newtheorem{theorem}{Theorem}
\newtheorem{lemma}{Lemma}
\newtheorem{example}{Example}[section]
\newtheorem{corollary}{Corollary}[section]
\usepackage{hyperref}
\usepackage{mathrsfs}
\usepackage[all]{xy}
\newtheorem*{question}{Question}
\newcommand{\mc}{\mathcal}
\newcommand{\mf}{\mathfrak}
\newtheorem*{solution}{Solution}
\newtheorem{definition}{Definition}
\newtheorem{remark}{Remark}
\newtheorem{proposition}{Proposition}[section]
\newtheorem{exercise}{Exercise}
\newcommand{\og}{\omega}
\newcommand{\tb}{\textbf}
\newcommand{\m}{\mathcal}
\newcommand{\mb}{\mathbb}
\newcommand{\Spec}{\rm Spec}
\usepackage{tikz-cd}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{color}
\pagestyle{myheadings}
\newcommand{\ra}{\rightarrow}
\newcommand{\xra}{\xrightarrow}
\author{someone}
\title{something}
\begin{document}
\section{qwerty}\label{qwerty}
\end{document}
cleverref– daleif May 18 '21 at 14:43\rmhas been obsolete since 1993. I'd use\DeclareMathOperator\Spec{Spec}instead – daleif May 18 '21 at 14:44hyperreflets you do\autoref{qwerty}, but thecleverrefpackage may be better, See e.g. https://tex.stackexchange.com/questions/39349/automatically-inserting-section-subsection-etc – Torbjørn T. May 18 '21 at 14:49cleverefwith one r, not two (just finished the cross referencing section of my book last week). – Don Hosek May 18 '21 at 14:56