how to capture url and show the hyperlink button data output in console application

i have an assignment , i have to capture a url which contain some hyperlink btn,  i have to show the hyperlink btn text and their description

How can a url  contain a hyperlink  button?