Architect's Log

I'm a Cloud Architect. I'm highly motivated to reduce toils with driving DevOps.

2012-08-10から1日間の記事一覧

input要素 required属性

required属性は、その入力フィールドに値が必須であることを表します。 使用例 <html lang="ja"> <head> <title>Hello! HTML5></title> <meta charset="UTF-8"> </head> <body> <form action="hoge.cgi" method="post"> <p> 名前:<input type="text" id="text" required="required" /> <input type="submit" value="送信" /> </p> </form> </body></html>