Q:

How do you make a button link to a website in Cocoa?

How would you make a button in cocoa when clicked open a web page?

A:

Just like what Chuck said, look up this.
For example, if I wanted to link to Google.com, You would do the following:
- (IBAction)goToLink:(id)sender
{
[[NSWorkspace sharedWorkspace] openURL: [NSURL URLWithString:@"http://google.com"]];
}

A:

Assuming you mean opening the page in the user's default browser (not in a web view inside your app), see -[NSWorkspace openURL:]

