Don't use "link", use "url" instead.
If you want to see the code that is generated by the built-in link, image and format buttons, use one of them and then click the "Switch Editor Mode" button in the upper right-hand corner of the edit box (it has two "A"s on it). After switching the edit mode, it will show all of the embedded code.