# Display urls in the reference section

I want to know how I can display a url to a site as reference in LaTeX. I need to have them at the end so that I can cite them from the other pages.

-

## migrated from stackoverflow.comMay 1 '12 at 13:03

This question came from our site for professional and enthusiast programmers.

Welcome to TeX.sx! Your question was migrated here from Stack Overflow. Please register on this site, too, and make sure that both accounts are associated with each other (by using the same OpenID), otherwise you won't be able to comment on or accept answers or edit your question. –  Werner May 1 '12 at 16:49

By reference do you mean citations as in bibliography?

If that is so, you can do it this way.

In the .tex file

\usepackage{url}



In the .bib file

@MISC{CADIZ,
}


HTH

-

To have a URL link just use the hyperref package and \href{<url>}{<text>}. For example, the MWE below yields:

and upon mouse click a browser window will be opened to the specified site.

\documentclass{article}

\usepackage{hyperref}
\begin{document}