enter image description here As in, in this image, the labels are slightly above to the input text fields. I want them to justify.
input {
border: 1px solid black;
border-top: 3px solid grey;
border-left: 3px solid grey;
margin: 5px 4px;
float: left;
}
label {
width: 200px;
float: left;
text-align: right;
}
<body style="margin:50px;" align="middle">
<b>Registration Form</b>
<form>
<label for="uname">Username</label>
<input type="text" id="uname" name="uname"><br>
<label for="pwd">Password</label>
<input type="password" id="pwd" name="pwd"><br>
<label for="cpwd">Confirm Password</label>
<input type="password" id="cpwd" name="cpwd">
</form>
</body>