セレクトボックスとは 入力画面などで選択を行う下記のような部品です。 セレクトボックスの値とは セレクトボックスの値とは、セレクトボックスの選択肢のことです。 上記の例では、「和食」「中華」「イタリアン」のそれぞれが「セレクトボックスの値」です。 [PR] フロントエンドで副業する学習方法を動画で公開中 セレクトボックスの値の設定方法 HTMLのselectタグの中にoptionタグで値を記述していきます。 先程のセレクトボックスの画像の例では、下記のように3つのoptionタグが書かれています。 なお、ここで日本語の「和食」「中華」「イタリアン」はあくまでユーザー向けの表示です。 実際に内部で値として登録されるのはoptionタグのvalueである”JapaneseFood” “ChineseFood” “ItalianFood”です。 <select name="genre" id="