0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

フォーム作成①

Posted at

簡単なフォーム作成。

<!DOCTYPE html>
<html>
<head>
  <meta http-equiv="content-type" type ="text/html"  charset="utf-8"/>
  <title>ゲーム作品感想フォーム</title>
</head>

<body>
  <h2>好きなゲーム作品感想投稿サイト</h2>
  <form action ="formTest1" method ="post">


  ハンドルネーム:<br />
  <input type ="text" name ="name" size ="30" value=""/><br />

  メールアドレス:<br />
  <input type ="text" name ="mail" size ="40" value=""/><br />

  性別:<br />
  <input type ="radio" name ="sex" size="20" value="男性"/>男性<br />
  <input type ="radio" name ="sex" size="20" value="女性"/>女性<br />


 ハード:<br />
<form method="POST" action=<?php echo $_SERVER["PHP_SELF"]?>

  <input type ="checkbox" name="hard" value="PS4"/>PS4
  <input type ="checkbox" name="hard" value="PS3"/>PS3
  <input type ="checkbox" name="hard" value="Switch"/>Switch
  <input type ="checkbox" name="hard" value="vita"/>vita
  <input type ="checkbox" name="hard" value="3DS"/>3DS
  <input type ="checkbox" name="hard" value ="その他"/>その他<br />

作品名:<br />
<input type ="text" name ="title" value=""><br />

ゲームの感想:<br />
<textarea  type = "text" name ="review" value =""/></textarea><br />

<input type ="submit" value="送信"/>
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?