这是我的HTML代码:难度调整文本框位置
<div class="jumbotron text-center">
<h1>Welcome to ShopialMedia</h1>
</div>
<h2> Sign up if you haven't already </h2>
<div ng-controller = "signupController">
<h3> Email : </h3>
<input type = "text" placeholder="Enter your Email" ng-model = "userEmail" id ="textEmail" ></input>
<h4> Password: </h4>
<input type = "text" placeholder="Enter your password" ng-model = "userPass" id = "textPass"></input>
<h5> First Name: </h5>
<input type = "text" placeholder="Enter your First Name" ng-model = "userFName" id = textFname ></input>
<h6> Last Name : </h6>
<input type = "text" placeholder="Enter your Last Name" ng-model = "userLName" id = textLname ></input>
<h7> Age : </h7>
<input type = "text" placeholder="Enter your Age" ng-model = "userAge" id = textAge ></input>
<button type = "submit" ng-click="signup()"> Sign Up </button>
</div>
实际输出:
我想要的文本框是其相应的标题旁边。