Thanks if anyone can help!
<FORM NAME = advert creator>
Advert: <INPUT TYPE = Text NAME = txtFirstNumber SIZE = 400 value ="">
Number: <INPUT TYPE = Text NAME = txtFirstNumber SIZE = 5 value ="">
<Input Type = Button NAME = b1 VALUE = "Copy Text" onClick = copytext()>