input type=password element

with label

with label + placeholder

with label + placeholder + required

with label + placeholder + readonly

with label + placeholder + disabled

Code

<label>code <input type="password"></label>

Reference

HTML5 input type=password element