ブートストラップでちょうど始まります。 http://www.w3schools.com/bootstrap/tryit.asp?filename=trybs_form_basic&stacked=hブートストラップフォームが正しく整列していない
しかし、私の学校のサイトのものと同じように整列したフォームが必要です。
<!DOCTYPE html>
<html lang="en">
<head>
<title>Bootstrap Example</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container">
<h2>foo View</h2>
<form>
<div class="form-group">
<label for="fooName">Name:</label>
<input class="form-group" id="fooName" type="text" value="fbdshfjdhk"/>
</div>
<div class="form-group">
<label for="fooghk">ghk:</label>
<input class="form-group" id="fooghk" type="text" value="fdsfdsfds"/>
</div>
<div class="form-group">
<label for="fooXyz">Xyz:</label>
<input class="form-group" id="fooXyz" type="text" value="ffdhfjhdsjk"/>
</div>
<button type="submit" class="btn btn-default">Submit</button>
</form>
</div>
</body
</html>
@wax_lyricalあなたがどんな解決策が適切であることが分かった場合、答えとしてそれをマークしてください。 – FreeKrishna