Issue:
You want to make the label of the form appear inside the input field.
Solution:
Use the below code in a custom html block on a landing page with a form:
This code uses the field "id" you could use "name" instead.
This does not work for "select" fields