Architect's Log

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

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

select要素 autofocus属性

ページが表示された時に、該当のselect要素にフォーカスすることを指示します。 使用例 <html lang="ja"> <head> <title>Hello! HTML5</title> <meta charset="UTF-8"> </head> <body> <form action="./regeister.html" method="post" id="order"> <p> <select autofocus="autofocus"> <option>りんご</option> <option>みかん</option> <option>ぶどう</option></select></p></form></body></html>