html learning memo no.5
『form作成』
html learning memo no.5
<!DOCTYPE html> <html lang="ja"> <head> <meta charset="UTF-8"> <title>form</title> </head> <body> <form action="#"> <p> メールアドレス: <input type="email" name="mail"> </p> <p> 郵便番号: <input type="text" name="post_code"> </p> <p> <input type="submit" value="送信"> </p> </form> </body> </html>
上記、入力するとラベルと入力フォームが出来上がりです!