When writing a paper, I usually disclose my code in the abstract
1. Import the required packages
\usepackage[colorlinks,bookmarksopen,bookmarksnumbered,citecolor=green, linkcolor=red, urlcolor=green]{
hyperref}
2. Insert relevant statements
\href{
网站}{
标题}
for example
\href{
https://blog.csdn.net/qq_40721108/article/details}{
博客}
Note: Hyperlinks cannot be highlighted, as an error will always be reported.