If you're using a web browser on the phone, you can go to the top where the URL bar is and press and hold until "select all" and "copy" come up. Another option is to hit the menu overflow button (three dots) at the top right and click "Share".
Pdf would be the same idea. Open the file on your phone and there should be an option to share. Then choose your method whether it's text, email, nfc etc