The above examples do not look good and maybe confusing when viewed as multiple input.
This is done in straight forward HTML. For Example:
<form>
<p> Enter Your Name:
<INPUT type="text" size=15> <br>
Enter Your Password:
<INPUT type="password" name="pwd"
size=15 maxlength=15>
</p>
</form>