0

I want to know if there is a pure html solution that when I click on a label or something a prefefined text is inserted in the text input field.

I know this would be easy with javascript/jquery but I think maybe there could be a pure html solution for this.

1 Answers1

0

In my opinion, you should use pseudo css selectors.

You can refer Can I have an onclick effect in CSS?

Community
  • 1
  • 1