I am struggling to center align the input type elements while keeping them equally aligned. Although I have managed to align the input types equally, they are currently left aligned. My goal is to have them center aligned.
.container {
width: 500px;
clear: both;
}
.container input {
width: 100%;
clear: both;
}
<div class="container">
<label>EMP ID </label><input type="text" id="empid"> <br><br>
<label>EMP NAME</label><input type="text" id="empname"> <br><br>
<label>EMAIL ID</label><input type="text" id ="emailid"> <br><br>
</div>
<input type="submit" class="appButton" value="INSERT" onclick="insert();"> <br><br>