input type=text element

with label

with label + placeholder

with label + placeholder + required

with label + placeholder + readonly

with label + placeholder + disabled

Code

<label>name <input id="input1" type="text"></label>

Reference