It should look like this:
Copy this code in its entirety:
<form><textarea name="textarea" cols="42" rows="12"> Put whatever in textarea. As you can see, when one clicks the button, the entire contents are instantly highlighted. Then do the CTRL+C (or CMD+C for WebTV) to copy.
</textarea><br> <input type="button" value="Select" onclick="this.form.textarea.focus();
this.form.textarea.select()"></form>