adding a link in latex code example
Example 1: latex link
\usepackage{hyperref}
For further references see \href{http://www.sharelatex.com}{Something Linky}
or go to the next url: \url{http://www.sharelatex.com}
Example 2: url in latex
\usepackage{hyperref}
%Use \href{URL}{DESCRIPTION} to add a link with description.
%Use \url{URL} to add a link without a description.
Example 3: include link in latex
\documentclass{article} % or any other documentclass
%...
\usepackage{hyperref}
%...
\begin{document}
%...
\end{document}