[Tex/LaTex] How to label url in latex

hyperreflinksurls

I am trying to include an url with a label so something like that: GOOGLE
I am writing this

\hypperef[mylabel]{myurl}

or this

\url[mylabel]{myurl}

and compiler gives me an error what am I doing wrong? I am using both required packages

Best Answer

You just need to customise the formatting hyperref uses. For example:

\documentclass{article}
\usepackage[colorlinks=true,urlcolor=blue]{hyperref}        
\begin{document}
  \href{http://google.ru/}{GOOGLE}
\end{document}

coloured link