\documentclass{article}
\usepackage[pdfborder={0 0 1}]{hyperref}
\begin{document}
\title{title}
\author{author}
\date{date}
\maketitle
\tableofcontents
\section{one}
\section{two}
\section{three}
\end{document}