-
-
Save codingwithsara/8f78b7d2c68c561d28e17e29e7f191ad to your computer and use it in GitHub Desktop.
PHP お問い合わせフォーム
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="jp"> | |
<head> | |
<meta charset="utf-8"> | |
<title>お問い合わせフォーム</title> | |
</head> | |
<body> | |
<div class="container"> | |
<div class="row"> | |
<div class="col-xs-offset-4 col-xs-4"> | |
<h1>お問い合わせ</h1> | |
<form method="post"> | |
<div class="form-group"> | |
<input type="text" class="form-control" name="name" placeholder="お名前" value=""> | |
</div> | |
<div class="form-group"> | |
<input type="text" class="form-control" name="email" placeholder="メールアドレス" value=""> | |
</div> | |
<div class="form-group"> | |
<input type="text" class="form-control" name="subject" placeholder="件名" value=""> | |
</div> | |
<div class="form-group"> | |
<textarea class="form-control" name="message" rows="5" placeholder="本文"></textarea> | |
</div> | |
<button type="submit" class="btn btn-success btn-block">送信</button> | |
</form> | |
</div> | |
</div> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment