<textarea name="LOL" id="textarea" cols="30" rows="10">Write something here</textarea> <copy-button target-element="#textarea"></copy-button>