How to create a clickable link in a command [duplicate]

I think that

/tellraw @p ["",{"text":"my text","color":"red","bold":true,"underlined":false,"clickEvent":{"action":"open_url","value":"https://www.netflix.com/browse"}}] 

should do what you're asking for. When the player clicks the text, a menu pops up, saying "Are you sure you want to open the following website: https://www.netflix.com/browse Never open links from people you don't trust" and 3 options: Yes, No and Copy to clipboard. If they click Yes, Netflix will be opened in their internet browser (possibly incompatible with some browsers), Copy to Clipboard copies it to their clipboard (and returns them to the game), No closes the menu.